Default time allowed for the PHP scripts to execute is 30s defined in the php.ini file. The function used is set_time_limit(int seconds). If the value passed is ‘0’, it takes unlimited time. It should be noted that if the default timer is set to 30 sec and 20 sec is specified in set_time_limit(), the script will run for 45 secs.
Sharda Technology has a number of technical and professional core php experts in its organization to provide the best quality of online and offline industrial and corporate core php training based on live projects.
Monday, May 13, 2013
How can we increase the execution time of a php script?
Default time allowed for the PHP scripts to execute is 30s defined in the php.ini file. The function used is set_time_limit(int seconds). If the value passed is ‘0’, it takes unlimited time. It should be noted that if the default timer is set to 30 sec and 20 sec is specified in set_time_limit(), the script will run for 45 secs.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment