EasyPHP - Apache和Mysql没有开始(昨天工作)

时间:2017-02-16 15:45:22

标签: mysql apache easyphp

我正在使用wordpress网站,我使用EasyPHP在本地运行它。我今天早上尝试运行Apache和Mysql,但是当我点击开始按钮时,它会旋转并回到"开始" ....

MySQL日志:



2017-02-16T02:03:52.129737Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-02-16T02:03:52.129737Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2017-02-16T02:03:52.129737Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2017-02-16T02:03:52.129737Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2017-02-16T02:03:52.129737Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2017-02-16T02:03:52.129737Z 0 [Note] ..\eds-binaries\dbserver\mysql5711x86x161008194102\bin\eds-dbserver.exe (mysqld 5.7.11) starting as process 6036 ...




Apache日志:



[Wed Feb 15 23:33:06.210769 2017] [:error] [pid 2540:tid 1160] [client 127.0.0.1:65526] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\Program Files (x86)\\EasyPHP-Devserver-16.1\\eds-www\\cafe-frejus\\wp-includes\\class-wp-dependency.php on line 19, referer: http://127.0.0.1/cafe-frejus/wp-admin/admin.php?page=revslider&view=slider&id=2
[Thu Feb 16 00:14:12.704129 2017] [:error] [pid 2540:tid 1124] [client 127.0.0.1:51093] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\Program Files (x86)\\EasyPHP-Devserver-16.1\\eds-www\\cafe-frejus\\wp-includes\\cron.php on line 27, referer: http://127.0.0.1/cafe-frejus/wp-admin/admin.php?page=Sage&tab=14
[Thu Feb 16 00:16:13.376084 2017] [:error] [pid 2540:tid 1160] [client 127.0.0.1:51102] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\Program Files (x86)\\EasyPHP-Devserver-16.1\\eds-www\\cafe-frejus\\wp-includes\\cron.php on line 27, referer: http://127.0.0.1/cafe-frejus/wp-admin/admin.php?page=Sage&tab=14
[Thu Feb 16 00:16:23.478629 2017] [:error] [pid 2540:tid 1124] [client 127.0.0.1:51103] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\Program Files (x86)\\EasyPHP-Devserver-16.1\\eds-www\\cafe-frejus\\wp-includes\\bookmark-template.php on line 51, referer: http://127.0.0.1/cafe-frejus/wp-admin/edit.php?post_type=page




感谢您的帮助! 乙

2 个答案:

答案 0 :(得分:1)

所以,既然我无法修复easyPHP,我决定重新安装。但是,我仍然需要恢复我的网站。

----免责声明:这可能不是一个好的做法或一个非常优雅的解决方案,如果你有什么更好的请告诉我:) ----

由于我没有从PHPmyadmin备份数据库,所以我尝试了以下内容:

  1. 下载EasyPHP(与以前版本相同)
  2. 在程序文件(而不是程序文件(x86))中安装EasyPHP
  3. 将我的wordpress文件夹从C:\ Program Files(x86)\ EasyPHP-Devserver-16.1 \ eds-www \ myWPfolder复制到C:\ Program Files \ EasyPHP-Devserver-16.1 \ eds-www \ myWPfolder
  4. 将BD从C:\ Program Files(x86)\ EasyPHP-Devserver-16.1 \ eds-binaries \ dbserver \ mysql5711x86x161008194102 \ data \ myBDfolder复制到C:\ Program Files \ EasyPHP-Devserver-16.1 \ eds-binaries \ DBSERVER \ mysql5711x86x161008194102 \ DATA \ myBDfolder 5从C:\ Program Files \ EasyPHP-Devserver-16.1启动Easy PHP(因此它是新安装)
  5. 进入我的浏览器并转到http://127.0.0.1/mywebsite
  6. 它有效(到目前为止)!

答案 1 :(得分:0)

使用此处的信息进行调试并不容易,但只有一个错误

2017-02-16T02:03:52.129737Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
如果你问我,

确实是个问题。

我认为您的安装存在权限问题。尝试以管理员身份运行它?