XAMPP使用中碰到【Maximum execution time of 30 seconds exceeded】问题
2017-11-06 16:57
531 查看
今天在使用xampp环境安装drupal的时候碰到了这个问题,root couse就是【Maximum execution time of 30 seconds exceeded】。
原因很简单,xampp中php的默认时间设的是30秒,普通http request肯定没问题,但如果是安装某个application可能就会超出这个时间了,所以找到xampp的php.ini,修改一下:
改为
即可。我这里设了86400,比较夸张,因为我的机器比较差,所以准许多跑一会。
PS:
编辑php.ini有两种方式:
1、打开[xampp安装目录]/php/php.ini;
2、通过xampp的contral panel,如下图所示:
原因很简单,xampp中php的默认时间设的是30秒,普通http request肯定没问题,但如果是安装某个application可能就会超出这个时间了,所以找到xampp的php.ini,修改一下:
max_execution_time=30
改为
max_execution_time=86400
即可。我这里设了86400,比较夸张,因为我的机器比较差,所以准许多跑一会。
PS:
编辑php.ini有两种方式:
1、打开[xampp安装目录]/php/php.ini;
2、通过xampp的contral panel,如下图所示:
相关文章推荐
- 解决php网页运行超时问题:Maximum execution time of 30 seconds exceeded
- php 超时 解决办法 (Maximum execution time of 30 seconds exceeded)这个问题?
- 解决php网页运行超时问题:Maximum execution time of 30 seconds exceeded
- 解决php网页运行超时问题:Maximum execution time of 30 seconds exceeded
- php Fatal error: Maximum execution time of 30 seconds exceeded in 问题的解决方案
- 解决Fatal error: Maximum execution time of 30 seconds exceeded in...的问题
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Maximum execution time of 30 seconds exceeded
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Maximum execution time of 30 seconds exceeded解决方案
- Maximum execution time of 30 seconds exceeded解决办法
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Maximum execution time of 30 seconds exceed in db_sql.php on line......
- Maximum execution time of 30 seconds exceeded解决错误方法
- DEDE 织梦cms出现Fatal error: Maximum execution time of 30 seconds exceeded in解决办法
- DEDE 织梦cms出现Fatal error: Maximum execution time of 30 seconds exceeded in解决办法
- PHP中超时提示Fatal error: Maximum execution time of 30 seconds exceeded的解决方案
- 解决 “Maximum execution time of 300 seconds exceeded in ...”问题
- Fatal error: Maximum execution time of 30 seconds exceeded i