From: excedor at gmail dot com Operating system: linux PHP version: 4.4.0 PHP Bug Type: *Configuration Issues Bug description: cant use php4 with memory-limit
Description: ------------ When I try to run php4.4.0 with this configuration: ./configure --with-apxs2=/usr/local/httpd/bin/apxs --with-mysql --prefix=/usr/local/php4 --with-libxml-dir=/usr/lib --with-zlib --with-mysql=/usr/local/mysql --enable-soap --enable-sockets --with-gettext --enable-mbstring --with-gd --with-jpeg-dir=/usr/lib --enable-memory-limit i get at SOME websites following message: Bad Gateway The proxy server received an invalid response from an upstream server. Most of the sites are working - just one drupal version does not appear (i have the same drupalversion in different directories and the other are working, but they are not as complex and filled with content like the notworking version) I didn't find the problem. I know how to compile and to get it run, so that's not the problem. When I run the same configuration without the enable-memory-limit parameter everything works perfectly (but i need memory_get_usage for some reasons, and it's only available with that parameter) is it a bug or what could be the reason? With php5 it's working but i would have to modify a LOT of things, so i would really prefer to use php4. Reproduce code: --------------- ./configure --with-apxs2=/usr/local/httpd/bin/apxs --with-mysql --prefix=/usr/local/php4 --with-libxml-dir=/usr/lib --with-zlib --with-mysql=/usr/local/mysql --enable-soap --enable-sockets --with-gettext --enable-mbstring --with-gd --with-jpeg-dir=/usr/lib --enable-memory-limit Expected result: ---------------- The website... http://www.humano2.org Actual result: -------------- Bad Gateway The proxy server received an invalid response from an upstream server. -- Edit bug report at http://bugs.php.net/?id=33715&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33715&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33715&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33715&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33715&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33715&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33715&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33715&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33715&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33715&r=support Expected behavior: http://bugs.php.net/fix.php?id=33715&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33715&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33715&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33715&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33715&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33715&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33715&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33715&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33715&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33715&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33715&r=mysqlcfg