Re: [PHP] What is the effect of --enable-memory-limit

2006-03-21 Thread Khai
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



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



Re: [PHP] What is the effect of --enable-memory-limit

2006-03-21 Thread Chris

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



[PHP] What is the effect of --enable-memory-limit

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


Thanks
Khai

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



Re: [PHP] What is the effect of --enable-memory-limit

2006-03-09 Thread Chris

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

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

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