Created
August 27, 2013 08:40
-
-
Save erasin/6351151 to your computer and use it in GitHub Desktop.
php 超时设置
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
一、在php.ini里面设置 max_execution_time = 1800; | |
二、通过PHP的ini_set 函数设置 ini_set("max_execution_time", "1800"); | |
三、通过set_time_limit 函数设置 set_time_limit(1800) ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment