我有一个php脚本,它涉及到我的mysql数据库的大量工作,因为它应该生成学校时间表,但在大约30-40秒的exec之后,它被重置,在其他30-40秒之后,我的浏览器向我显示消息:
此网页不可用。
我尝试了我在互联网上找到的每一种方法(php.ini-max_execution_time
、set_time_limit(0)
、ini_set('max_execution_time', 10)
),甚至更改了apache的超时,但我的脚本仍然被重置。有什么想法吗?
编辑
[01-Mar-2015 15:30:16 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[01-Mar-2015 15:30:16 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[01-Mar-2015 15:30:17 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[01-Mar-2015 15:30:17 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
这是我重置后的php错误日志。它对我的剧本有任何影响吗?
首先,php错误日志中的那些错误消息可能与此问题无关,但可以通过这样做来解决。
left click on the wampmanager icon in the system tray
wampmanager->Apache->Version->2.4.9 ( click on the 2.4.9 version number )
这将导致wampmanager重新生成'apache2.4.9'bin
文件夹中的所有SYMLINKS。