1
我需要我的项目的Apache和MySQL服务,但我无法启动Apache服务。无法启动Xampp Apache服务
这里是日志:
5:45:22 PM [main] Initializing Control Panel
5:45:22 PM [main] Windows Version: Windows 8 64-bit
5:45:22 PM [main] XAMPP Version: 5.6.12
5:45:22 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
5:45:22 PM [main] You are not running with administrator rights! This will work for
5:45:22 PM [main] most application stuff but whenever you do something with services
5:45:22 PM [main] there will be a security dialogue or things will break! So think
5:45:22 PM [main] about running this application with administrator rights!
5:45:22 PM [main] XAMPP Installation Directory: "c:\xampp\"
5:45:22 PM [main] Checking for prerequisites
5:45:23 PM [main] All prerequisites found
5:45:23 PM [main] Initializing Modules
5:45:23 PM [main] Enabling autostart for module "Apache"
5:45:23 PM [main] Starting Check-Timer
5:45:23 PM [main] Control Panel Ready
5:45:23 PM [Apache] Autostart active: starting...
5:45:23 PM [Apache] Attempting to start Apache service...
5:45:25 PM [Apache] Status change detected: running
5:45:27 PM [Apache] Status change detected: stopped
5:45:27 PM [Apache] Error: Apache shutdown unexpectedly.
5:45:27 PM [Apache] This may be due to a blocked port, missing dependencies,
5:45:27 PM [Apache] improper privileges, a crash, or a shutdown by another method.
5:45:27 PM [Apache] Press the Logs button to view error logs and check
5:45:27 PM [Apache] the Windows Event Viewer for more clues
5:45:27 PM [Apache] If you need more help, copy and post this
5:45:27 PM [Apache] entire log window on the forums
首先,当我安装了XAMPP我是不是能够运行Apache服务。然后,我在Skype中取消选中“使用端口80和443”并退出Skype,并将confg文件中的端口从80改为8080和443改为4433.完成此操作后,Apache服务器运行良好。但是在重新启动我的笔记本电脑后,Xampp显示Apache服务已启动,但实际上并未启动。然后我升级到Windows 10,现在发生了这种情况。
PS这是我的第一个问题
你几乎自己回答了这个问题。如果在这之前它运行顺利,那么这是一个很大的机会,这是一个端口问题。但是,那么你在那个领域检查了什么:80端口上是否有其他服务?你有两个Xampps在运行吗?问题何时开始?在Windows 10升级之前或之后? – achedeuzot
你能够重新安装XAMPP,或者你已经在MySQL中创建了一些数据库吗? – Nerdwood
让我再次尝试重新安装Xampp。我为Apache使用端口8080。至今我还没有创建任何数据库。 –