我刚刚在笔记本电脑上安装了xampp,但我遇到了运行apache的问题。它说繁忙的端口80.我在skype上取消选中了端口80,并将apache配置更改为81。
3:05:11 p.m. [main] Initializing Control Panel
3:05:11 p.m. [main] Windows Version: Windows 7 Home Premium SP1 64-bit
3:05:11 p.m. [main] XAMPP Version: 1.8.2
3:05:11 p.m. [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
3:05:11 p.m. [main] You are not running with administrator rights! This will work for
3:05:11 p.m. [main] most application stuff but whenever you do something with services
3:05:11 p.m. [main] there will be a security dialogue or things will break! So think
3:05:11 p.m. [main] about running this application with administrator rights!
3:05:11 p.m. [main] XAMPP Installation Directory: "c:\users\dean\desktop\m\"
3:05:11 p.m. [main] Checking for prerequisites
3:06:43 p.m. [main] All prerequisites found
3:06:43 p.m. [main] Initializing Modules
3:06:44 p.m. [main] Starting Check-Timer
3:06:44 p.m. [main] Control Panel Ready
3:06:49 p.m. [Apache] Status change detected: running
3:06:50 p.m. [Apache] Status change detected: stopped
3:06:50 p.m. [Apache] Error: Apache shutdown unexpectedly.
3:06:50 p.m. [Apache] This may be due to a blocked port, missing dependencies,
3:06:50 p.m. [Apache] improper privileges, a crash, or a shutdown by another method.
3:06:50 p.m. [Apache] Press the Logs button to view error logs and check
3:06:50 p.m. [Apache] the Windows Event Viewer for more clues
3:06:50 p.m. [Apache] If you need more help, copy and post this
3:06:50 p.m. [Apache] entire log window on the forums
答案 0 :(得分:0)
日志显示它没有使用管理员权限运行。尝试右键单击xampp_start.exe文件,然后单击“以管理员身份运行”
答案 1 :(得分:0)
尝试进入xampp文件夹(xampp \ apache)中的apache文件夹,然后运行apache_uninstallservice.bat,然后运行apache_installservice.bat。如果这不起作用,那么希望其他人可以提供帮助,因为我没有想法
答案 2 :(得分:0)
在Windows中,禁用已在运行的端口80上运行的“World Wide Web Publishing”服务(并阻止Apache启动)。为此,请开始>>运行>> services.msc>>了解'万维网发布'服务>>停止服务并将开始类型设置为“已禁用”。
然后再次尝试启动xampp Apache。
答案 3 :(得分:-1)
如果您在C盘中的xampp文件夹(例如C:\ xampp)上隐藏了所有内容(除了或包含htdocs),请取消隐藏所有内容。这可能会有所帮助。