Home  >  Article  >  Backend Development  >  解决PHP mysql_query执行超时(Fatal error: Maximum execution time …)_php技巧

解决PHP mysql_query执行超时(Fatal error: Maximum execution time …)_php技巧

WBOY
WBOYOriginal
2016-05-17 08:57:021002browse
【错误原因】:mysql_query执行超时.
【解决办法】:修改php.ini中的 max_execution_time的值,默认为300,单位是秒,例如:
;max_execution_time = 300
;将其改为:
max_execution_time = 3000
最后,重新启动服务管理器即可~
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