Cannot load php5apache2_4.dll into server
程序员文章站
2022-03-25 23:18:10
Cannot load php5apache2_4.dll into server ......
配置php开发环境的时候,当进行到在apache的httpd.conf文件中配置加载php模块时发生如下错误
httpd: syntax error on line 185 of d:/wamp/apache24/conf/httpd.conf: cannot load d:/wamp/php-5.6.30/php5apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
出错原因:电脑中缺少vc11运行库,因为现在所有的5.6环境都是基于 vc11的编译脚本下生成的,需要安装相关组件msvcr110.dll
vc2015: http://pan.baidu.com/s/1gfialgr
vc2012:http://pan.baidu.com/s/1pkxjrvd
这里分享两个64位版本的运行库,一个是vc2012,用于php5.6;一个是vc2015,用于php7。建议无论安装那个php版本,两个都装上。
安装完成后,重启apache即可。
上一篇: 基于PHP实现用户在线状态检测
下一篇: springboot
推荐阅读
-
解决报错:Cannot load 64-bit SWT libraries on 32-bit JVM 博客分类: eclipse插件RCP eclipse插件RCP
-
eclipse:Cannot create a server using the selected type 博客分类: server servertomcat
-
解决Eclipse配置Tomcat出现Cannot create a server using the selected type错误
-
解决Eclipse配置Tomcat出现Cannot create a server using the selected type错误
-
Server报错:java.lang.IllegalStateException: Cannot create a session after the response has been commit
-
Cannot load driver class: com.mysql.jdbc.Driver
-
java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
-
spring boot 异常: Cannot load driver class: com.mysql.jdbc.Driver
-
Cannot load driver class: com.mysql.jdbc.Driver
-
Cannot load driver class: com.mysql.jdbc.Driver