Khai wrote:
This page does not explain the consequence of what may happen if my script indeed need more memory than what is set in php.ini . Will PHP / Apache / OS (Linux, Unix) terminate the request with a 500 internal server error ? Will the script be allowed to finished, and Apache/PHP gracefully terminate the child afterward ?

Thanks,
Khai
Chris wrote:

Khai wrote:

If I compile php with --enable-memory-limit and set a memory limit in php.ini, what will this do ?



http://www.php.net/manual/en/ini.core.php#ini.memory-limit



The server will stop it with a fatal error, something like this:

Allowed memory size of X bytes exhausted (tried to allocate Y bytes).


--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to