DEDE 织梦cms出现Fatal error: Maximum execution time of 30 seconds exceeded in解决办法
2013-06-07 17:28
696 查看
DEDE 织梦cms出现Fatal error: Maximum execution time of 30 seconds exceeded in解决办法
解决办法:在服务器中找到php.ini这个文件(c盘Windows的也要改)
修改max_execution_time = 30
max_execution_time = 30 ; 这个是每个脚本运行的最长时间,可以自己修改加长,单位秒
为:max_execution_time = 300
然后重起mysql服务
在运行里输入:
net stop MySQL 停止mysql服务
net start MySQL开始mysql服务器
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
有两个解决办法,一个是在空间服务器端修改php.ini,找到"max_execution_time = 30;"这里设置的是允许脚本执行的最长时间,单位是秒..改成60或120
另一个是 在userlogin.class.php 文件中添加如下代码:
set_time_limit(时间); //0为无限制
我的是添加:
set_time_limit(60); //0为无限制
现在我的网站已经正常了。可以参考我的dedecms程序网站:智能移动论坛/download
相关文章推荐
- 现Fatal error: Maximum execution time of 30 seconds exceeded in解决办法
- DedeCMS提示Maximum execution time of 30 seconds exceeded in解决办法
- DEDE 织梦cms出现Fatal error: Maximum execution time of 30 seconds exceeded in解决办法
- 解决drupal的模块状态过多会导致启用模块时候出现一个类似错误Maximum execution time of 30 seconds exceeded in xxxxxxxxxxx
- 解决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 …/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 230
- Drupal错误:drupal Maximum execution time of 30 seconds exceeded database in解决方法
- 解决PHP程序运行时:Fatal error: Maximum execution time of 30 seconds exceeded in的错误提示
- 解决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
- 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 i
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Fatal error: Maximum execution time of 60 seconds exceeded in
- 解决 “Maximum execution time of 300 seconds exceeded in ...”问题