Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: eXce on July 14, 2005, 01:51:29 AM

Title: Problem with php4.4 and enable-memory-limit
Post by: eXce on July 14, 2005, 01:51:29 AM
Hi guys,

I have a problem with my webserver.

When I try to run php4.4.0 with this configuration:
 
Quote

 ./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:

Quote

Bad Gateway

The proxy server received an invalid response from an upstream server.


Most of the sites are working - 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.

thanks in advance

Simon
Title: Problem with php4.4 and enable-memory-limit
Post by: Ricky on July 15, 2005, 04:05:12 PM
As you have already checked php5 on same config. its working fine..

Then it could be a shortcoming of php4. May be you can try to see bug report section of php.net ... i hope its there .. and find first if its a bug.