Memory exhausted problem
Posted: 23. November 2007 19:51
Hello,
I have a "Memory exhausted problem" with a Linux/Xampp installation.
And, even if changes of "memory_limit" in php.ini is correctly reported in phpinfo() , it seems not used by xampp's php.
I tried several versions (lampp-1.5.1,lampp-1.5.4a, lampp-1.6.4) without any success, and the problem can be reproduced without apache (by running php from the shell).
Messages (depends on version) :
Any hints appreciated.
I have a "Memory exhausted problem" with a Linux/Xampp installation.
And, even if changes of "memory_limit" in php.ini is correctly reported in phpinfo() , it seems not used by xampp's php.
I tried several versions (lampp-1.5.1,lampp-1.5.4a, lampp-1.6.4) without any success, and the problem can be reproduced without apache (by running php from the shell).
Messages (depends on version) :
- Code: Select all
$ /opt/lampp/bin/php-5.1.1 index.php
Allowed memory size of 160 bytes exhausted (tried to allocate 63 bytes)
- Code: Select all
$ /opt/lampp-1.6.4/bin/php-5.1.1 index.php
Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 7631 bytes) in /opt/lampp-1.5.1/htdocs/appli/prado-3.1.0.r2045/framework/pradolite.php on line 142
Any hints appreciated.