我使用的是XAMPP,我可以启动Apache,但是MySQL(phpMyAdmin)启动!
当我开始的时候,我得到这个错误;
10:07:49 [Apache] Error: Apache shutdown unexpectedly.
10:07:49 [Apache] This may be due to a blocked port, missing dependencies,
10:07:49 [Apache] improper privileges, a crash, or a shutdown by another method.
10:07:49 [Apache] Press the Logs button to view error logs and check
10:07:49 [Apache] the Windows Event Viewer for more clues
10:07:49 [Apache] If you need more help, copy and post this
10:07:49 [Apache] entire log window on the forums
我搜索了一下,在Config->;Service and Port Setting中更改了Apache的端口.我有过;
Service name: Apache 2.4
Main port: 122
SSL port: 444
我还卸载了Skype(Windows 8/10/Metro版本).什么都没用.在我的httpd.conf份文件中;
Listen 122
ServerName localhost:122
我从apache_start.bat
开始,然后得到;
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:445
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:445
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Please note that all the log files don’t exists!