Fatal error: Maximum execution time of 30 seconds exceeded [duplicate]

时光毁灭记忆、已成空白 提交于 2019-12-13 01:25:40

问题


I'm new to the php.

When I'm trying to connect to crea(Canada realestate) database I encountered a error

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\cr\PHRets_CREA.php on line 1465

again I executed the code then it is showing

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\cr\PHRets_CREA.php on line 1408

Then I changed the following line in php.ini and restarted my server

max_execution_time=300

This time it again sown different line number

Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\htdocs\cr\PHRets_CREA.php on line 1489

How to overcome this problem?

Here the complete code is http://crea.ca/data-distribution-facility-documentation


回答1:


It seems your script is taking too much time to execute and it is being timedout.

Edit your php.ini and change the value of max_execution_time to 1000 and restart your web server.

You can also try to increase your memory_limit.



来源:https://stackoverflow.com/questions/23556519/fatal-error-maximum-execution-time-of-30-seconds-exceeded

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!