2017-02-16 61 views
0

我正在使用我的wordpress網站,我使用EasyPHP在本地運行它。我想今天上午運行Apache和MySQL,但是當我打它旋轉,回到「開始」開始按鈕....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

感謝您的幫助! B.

回答

1

所以,由於我無法修復easyPHP,我決定重新安裝。不過,我仍然需要回到我的網站。

----免責聲明:這可能不是一個很好的做法還是很優雅的解決方案,如果您有什麼更好的請讓我知道:) ----

因爲我沒有備份(如前版本相同)

  1. 下載的EasyPHP
  2. 在程序文件(而不是程序文件(x86)的)
  3. 複製我的wordpress文件夾從安裝到C的EasyPHP:DB從phpMyAdmin的,我試過如下: \ Program Files(x86)\ EasyPHP-Devserver-16.1 \ eds-www \ myWPfo lder到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輕鬆PHP(所以它是新的安裝)
  5. 轉到我的瀏覽器,進入http://127.0.0.1/mywebsite

它的工作原理(到目前爲止)!

0

如果你問我這是不容易在這裏的信息,但一個錯誤

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

調試是真正的問題在這裏。

我認爲您的安裝存在權限問題。嘗試以管理員身份運行它?