Home  >  Article  >  php教程  >  解决PHP mysql_query执行超时(Fatal error: Maximum execution time …)

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

WBOY
WBOYOriginal
2016-06-13 11:43:231312browse

【错误原因】: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