问题描述
这里碰到了三个问题
一是Apache启动失败:
20:23:28 [Apache] Error: Apache shutdown unexpectedly.
20:23:28 [Apache] This may be due to a blocked port, missing dependencies,
20:23:28 [Apache] improper privileges, a crash, or a shutdown by another method.
20:23:28 [Apache] Press the Logs button to view error logs and check
20:23:28 [Apache] the Windows Event Viewer for more clues
20:23:28 [Apache] If you need more help, copy and post this
20:23:28 [Apache] entire log window on the forums
二是MySQL启动失败:
20:28:50 [mysql] Error: MySQL shutdown unexpectedly.
20:28:50 [mysql] This may be due to a blocked port, missing dependencies,
20:28:50 [mysql] improper privileges, a crash, or a shutdown by another method.
20:28:50 [mysql] Press the Logs button to view error logs and check
20:28:50 [mysql] the Windows Event Viewer for more clues
20:28:50 [mysql] If you need more help, copy and post this
20:28:50 [mysql] entire log window on the forums
20:30:08 [mysql] Problem detected!
20:30:08 [mysql] Port 3306 in use by ““C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe” --defaults-file=“C:\ProgramData\MySQL\MySQL Server 5.7\my.ini” MySQL57”!
20:30:08 [mysql] MySQL WILL NOT start without the configured ports free!
20:30:08 [mysql] You need to uninstall/disable/reconfigure the blocking application
20:30:08 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
20:30:08 [mysql] Attempting to start MySQL app…
三是后面Admin Apache时显示空白页
原因分析:
一和二的问题原因是端口被占用
三的问题原因是localhost未加端口号
解决方案:
一问题的解决方案:
首先点击Config 再点击Apache(httpd.conf)
然后弹出这个文件,找到端口号并修改,当时我这里默认80端口号,我修改成444这个端口号保存
二问题的解决方案:
首先点击Config 再点击my.ini
找到端口号并修改,当时我这里是3306,我改成了3307,然后保存,再启动就成功了
三问题的解决方案:
在网址这里加上对应Apache这个端口号就成功加载了,我当时Apache修改了端口号是444所以在网址localhost后面加’:444’
版权归原作者 如梦_ 所有, 如有侵权,请联系我们删除。