Results 1 to 3 of 3
Thread: max_execution_time in php.ini
-
04-16-2006, 01:43 AM #1Web Hosting Evangelist
- Join Date
- Aug 2001
- Posts
- 466
max_execution_time in php.ini
Hi
In the php.ini file I have set max_execution_time to 30 seconds, but today I saw the following in top:
Code:PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 18857 serbehd 25 0 6260 6260 3492 R 98.0 0.3 587:56 0 /usr/bin/php readmsg.php
Michael
-
04-16-2006, 02:52 AM #2Disabled
- Join Date
- Aug 2005
- Posts
- 443
I too have noticed the global php.ini does not always respect this value, nor does it always respect the memory_limit setting. Find someone who's familiar with perl and ask them to write something that will babysit PHP, because it really needs it, badly.
-
04-16-2006, 12:25 PM #3Aspiring Evangelist
- Join Date
- Mar 2006
- Posts
- 427
try install PRM from rfxnetworks.com to check on the php command, you may max memory usage it allow for a certain command before it is killed.