Set php tutorial.ini script timeout method
There are two settings
Method one, set
in php.ini
max_execution_time = 1800 ;
Currently the above method can use ini_set("option", "value"),
ini_set(''max_execution_time'', ''180'');
Method 2: Use php page to add
set_time_limit(),
If you add set_time_limit(100) at the beginning of the php document, it means a timeout of 100 seconds.
http://www.bkjia.com/PHPjc/632293.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632293.htmlTechArticleSetting php tutorial.ini There are two ways to set the script timeout method. One is to set max_execution_time = 1800 in php.ini. ; Currently the above method can use ini_set(option, value), ini_set(''m...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn