Cannot load php5apache2_4.dll into server
程序员文章站
2022-06-22 10:40:17
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即可。
推荐阅读
-
SQL Server 2012无法连接到WMI提供程序(Cannot connect to WMI provider)解决方案
-
SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
-
cannot be run because the QueueReader subsystem failed to load
-
webpack-dev-server config.js Cannot find module
-
在安装系统出现error cannot load file code 5555h 的解决办法
-
清理SQL Server 2008日志文件Cannot shrink log file 2 的解决方案
-
SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
-
SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
-
解决:Cannot load ocl.dll library(error code 126). The ocil.dll library may be missing from the system
-
【已解决】运行webpack-dev-server时提示Error: Cannot find module ‘webpack-cli/bin/config-yargs‘