[php-maint] Bug#407425: PHP not allowed to use too much memory

Steven Van Ingelgem karel at linux.be
Thu Jan 18 11:37:48 CET 2007


Package: php5-cli
Version: 5.2.0-8


Bug:
I am using PHP scripts which uses up all the memory in the computer 
(it's not by bad design, just unlucky success of some application - and 
no time to recreate it in another language).
My server has 2G memory + 6G swap. With Debian PHP, and modifying the 
php.ini, I could only get it to allocate 2G memory, nothing more. If I 
for example put the memory limit to 6G, it will only allow to allocate 2G.

Recompiling PHP with the exact same parameters as used in the PHP5-cli 
source package (control-file) but with --disable-memory-limit let me use 
also the swap.

Greetz,
Steven




More information about the pkg-php-maint mailing list