Apache在xampp中启动时显示错误
我最近安装了7.3.1版的Apache在xampp中启动时显示错误,apache,xampp,localhost,Apache,Xampp,Localhost,我最近安装了7.3.1版的xamppserver。当我试图启动mysql和apache时。sql server已正确启动,但Apache未启动,并显示以下错误 11:05:42 AM [Apache] Problem detected! 11:05:42 AM [Apache] Port 80 in use by "Unable to open process" with PID 4! 11:05:42 AM [Apache] Apache WILL NOT start wit
xampp
server。当我试图启动mysql
和apache
时。sql server已正确启动,但Apache未启动,并显示以下错误
11:05:42 AM [Apache] Problem detected!
11:05:42 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
11:05:42 AM [Apache] Apache WILL NOT start without the configured ports free!
11:05:42 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
11:05:42 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
11:05:42 AM [Apache] Attempting to start Apache app...
11:05:42 AM [Apache] Status change detected: running
11:05:48 AM [Apache] Status change detected: stopped
11:05:48 AM [Apache] Error: Apache shutdown unexpectedly.
11:05:48 AM [Apache] This may be due to a blocked port, missing dependencies,
11:05:48 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:05:48 AM [Apache] Press the Logs button to view error logs and check
11:05:48 AM [Apache] the Windows Event Viewer for more clues
11:05:48 AM [Apache] If you need more help, copy and post this
11:05:48 AM [Apache] entire log window on the forums
后来我在谷歌上搜索,发现我们需要将端口号80更改为任意数字。因此,我将80更改为81,并再次重新启动服务器。它显示了相同的错误
我做了如下端口更改
#Listen 12.34.56.78:81 #changed 80 to 81
Listen 81 #changed 80 to 81
ServerName localhost:81 #changed 80 to 81
是否有任何解决方案尝试运行apache_start.bat以查看端口是否确实存在问题。尝试运行apache_start.bat以查看端口是否确实存在问题。您应该尝试改用Devserver()。对于Devserver,如果已经使用了一个端口,它会自动获取另一个端口。此Devserver是否具有与Xampp相同的功能@彼得·斯蒂文尼,我想更是如此。有几个模块可用。您应该尝试改用Devserver()。对于Devserver,如果已经使用了一个端口,它会自动获取另一个端口。此Devserver是否具有与Xampp相同的功能@彼得·斯蒂文尼,我想更是如此。有几个模块可用。