我刚刚使用此指南将 XAMPP 的 PHP 版本从 PHP 7.1.7 升级到 PHP 7.2.0article https://www.techflirt.com/how-to-upgrade-php-in-xampp/.
然后我尝试重新启动 XAMPP 但出现此错误:
10:54:47 AM [Apache] Error: Apache shutdown unexpectedly.
10:54:47 AM [Apache] This may be due to a blocked port, missing dependencies,
10:54:47 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:54:47 AM [Apache] Press the Logs button to view error logs and check
10:54:47 AM [Apache] the Windows Event Viewer for more clues
10:54:47 AM [Apache] If you need more help, copy and post this
10:54:47 AM [Apache] entire log window on the forums
之后我打开 Skype,并在“连接”选项卡中禁用了复选框“使用端口 80 和 443 作为传入连接的替代方案”。然后我尝试重新启动 Apache,但再次收到错误消息。
接下来我做的就是改变Listen 80
to Listen 1372
in httpd.conf还有ServerName localhost:80
to ServerName localhost:1372
在同一个文件中。然后尝试启动 Apache,但又出现了同样的错误。
我也改变了这一点:
<VirtualHost _default_:443>
ServerName www.example.com:443
to this:
<VirtualHost _default_:4433>
ServerName localhost:4433
in the httpd-ssl.conf文件。但到目前为止,Apache 无法启动并返回相同的错误消息。
那我现在该怎么办呢?
转到 Apache 配置 -> Apache (httpd.config) -> 将“Listen 80 更改为 81”
在浏览器上->http://localhost:81/phpmyadmin/ http://localhost:81/phpmyadmin/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)