xampp apache服务未启动?

vojdkbi0  于 2021-07-24  发布在  Java
关注(0)|答案(3)|浏览(374)

我什么都试过了:
重新安装应用程序5次
将端口从80更改为8080,将443更改为4343
使用apache start bat文件
在线寻找进一步的解决方案。
更改uac设置(但请注意,我不知道是否必须禁用它。设置为“从不通知我”)
我卸载了skype(我的意思是无论如何我都不会使用它)
控制面板中的官方错误:

3:27:24 PM  [Apache]    Error: Apache shutdown unexpectedly.
3:27:24 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
3:27:24 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
3:27:24 PM  [Apache]    Press the Logs button to view error logs and check
3:27:24 PM  [Apache]    the Windows Event Viewer for more clues
3:27:24 PM  [Apache]    If you need more help, copy and post this
3:27:24 PM  [Apache]    entire log window on the forums

日志错误:

[Fri Jul 24 15:27:23.908527 2020] [ssl:warn] [pid 1800:tid 664] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 24 15:27:23.958604 2020] [ssl:warn] [pid 1800:tid 664] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0
[Fri Jul 24 15:27:23.958604 2020] [:emerg] [pid 1800:tid 664] AH00020: Configuration Failed, exiting

有什么解决办法吗?

nhjlsmyf

nhjlsmyf1#

查看一下日志,服务器名称似乎与ssl证书上的名称不同。

5tmbdcev

5tmbdcev2#

这个问题通常是由 point (5) Changing UAC settings . 通过安装 vcruntime140.dll 不要解决问题。
这可能是由于安装其他版本的php或不同版本的php(卸载php并再次尝试安装xampp)造成的。
资料来源: https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp 以及 https://themanish.com/run-multiple-version-of-php-in-xampp-windows-without-installing-multiple-xampp/

yuvru6vn

yuvru6vn3#

从microsoft安装最新版本的visual studio。为我工作

相关问题