extending exection time of a php script
by raja[ Edit ] 2007-09-20 10:30:27
you may want to run a php script that takes more execution time than of the default execution time of 30 secs. when trying to execute such a script an error will occur stating that the execution time exceeds the maximum limit of 30 secs.
TO extend the maximum execution time, php.ini file has to be set accordingly.
1.locate the php.ini file in your windows directory. For ex.,C:/WINDOWS/
2. edit the php.ini page and change the following setting to the time you want.
max_execution_time = 200 ;
By default it will be 30 secs.
3. Restart Apache.
Now you can execute php scripts that take more execution time than default.
Thanks