November 24, 2024, 11:07:16 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Problem with php4.4 and enable-memory-limit  (Read 4664 times)

Offline eXce

  • New Member
  • Posts: 1
Problem with php4.4 and enable-memory-limit
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Problem with php4.4 and enable-memory-limit
« Reply #1 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.