Hi all, I have set the max_execute_time in php.ini to 300 (5 mins). And i found that if my script have a infinitely loop( caused by careless programming), the script still executing even 5 mins is passed and uses up all my cpu resourse. Even i "stop" and close the browser, the script seen still running on the background. (I found the apache.exe is used up 99% of cpu resourse in window task manager) What i can do is restart the apache server.
I use the following script to test the situation. <?php while (1<10){ $i=1;} ?> So is there any way to stop execution of php script? Since i have make a server for my friend to test his php script, sometime if his script have such a bad looping, the apache would hanged. I dont want to restart the server everytime since i;m not sitting in front my pc anytime. Thanks in advance Nowhereman from HK -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php