#33715 [Opn->Bgs]: cant use php4 with memory-limit
| From: | tony2001@php.net | Date: | Sat, 16 Jul 2005 20:17:45 +0000 |
| Subject: | #33715 [Opn->Bgs]: cant use php4 with memory-limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81952@lists.php.net to get a copy of this message | ||
ID: 33715
Updated by: tony2001@php.net
Reported By: excedor at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: linux
PHP Version: 4.4.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Configure your web-server properly.
Previous Comments:
------------------------------------------------------------------------
[2005-07-15 18:58:35] excedor at gmail dot com
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 this bug report at http://bugs.php.net/?id=33715&edit=1