Home > php教程 > php手册 > apache 2.2.2 + PHP5.1.4 不能运行的解决办法.

apache 2.2.2 + PHP5.1.4 不能运行的解决办法.

WBOY
Release: 2016-06-21 09:06:08
Original
1025 people have browsed it

apache|php5|解决

apache 2.2.2 + PHP5.1.4 不能运行的解决办法.

问题,使用传统的模块化方法安装PHP5.1.* + apache 2.2.2 后不能启动,

提示:
"Cannot load C:/php/php5apache2.dll into server: The specified module could not be found."


原因:

 PHP压缩包里的php5apache2.dll只适用于apache2.0.*

解决方法:

下载 这个文件 并解压.共有三个文件.

vcredist_x86.exe
php5apache2.dll
httpd.exe.manifest


好,开始

1.将 php5apache2.dll 覆盖掉你原来PHP目录下的 php5apache2.dll 文件.

2.将 httpd.exe.manifest 文件复制到你的apache安装目录下的bin文件夹下.

3.双击运行vcredist_x86.exe安装.(如果您的系统里已安装了 .NET framework 2.就可以省掉这一步)

完成!去重启你的apache2.2试试吧.


 



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template