[PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-10 Thread santi
) How can I compile statically the CGI version of PHP? Thanks!! Regards, -- Santi Saez http://woop.es -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-10 Thread santi
r not a dynamic executable statifier'd version of the CGI works fine.. but we're looking a better method to directly built the CGI. # ls -lh php-cgi php-cgi.statifier -rwxr-xr-x 1 root root 7.0M Sep 10 15:10 php-cgi -rwxr-xr-x 1 root root 19M Sep 10 17:14 php-cgi.statifier Regards

[PHP-DEV] Still "zend_mm_heap corrupted" error in PHP 5.2.6

2008-07-31 Thread Santi Saez
*message) { fprintf(stderr, "%s\n", message); #if ZEND_DEBUG && defined(HAVE_KILL) && defined(HAVE_GETPID) kill(getpid(), SIGSEGV); #endif exit(1); } Is there any macro o similar to get the URL, virtualhost or PHP script/path? Thanks!! Regard

Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs)

2008-09-10 Thread Santi Saez
375000) libm.so.6 => /lib/tls/libm.so.6 (0x002fe000) libdl.so.2 => /lib/libdl.so.2 (0x002f8000) libnsl.so.1 => /lib/libnsl.so.1 (0x0039e000) libc.so.6 => /lib/tls/libc.so.6 (0x001ca000) /lib/ld-linux.so.2 (0x001b) Thanks anyway! I will try other