Apache启动失败 Cannot load php7apache2_4.dll into server

2017-09-22 22:00 阅读 2,189 次 评论 0 条

今天突然apache启动不了,一直报错误。

The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line XXX of E:/Program Files/Apache24/conf/httpd.conf: Cannot load E:/Program Files/php70/php7apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3     .

有很多人说需要再下载对应的php,我觉得好麻烦,直接附上解决办法:

下载一个 vcruntime140.dll 放到php目录下

https://pt.dll-files.com/vcruntime140.dll.html

点那个Baixar的链接就下载了,然后把dll放到php7的目录下,apache能正常启动了。

版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:Apache启动失败 Cannot load php7apache2_4.dll into server | 猿笔记

发表评论


表情