Home > Backend Development > PHP Tutorial > PHP环境配备出错了。

PHP环境配备出错了。

WBOY
Release: 2016-06-13 13:06:12
Original
844 people have browsed it

PHP环境配置出错了。。。
为什么我在httpd.conf里面加了以下几个配置,再然后重启apache就报错了,想问一下大侠们可能那里出错了?
LoadModule php5_module C:/phpEnvir/php/php5apache2_2.dll
PHPIniDir "C:/phpEnvir/php"
AddType application/x-httpd-php .php .phtml

------解决方案--------------------
C:/phpEnvir/php/php5apache2_2.dll 不存在
------解决方案--------------------
几点
1.你的apache是否2.2,不是的话就不是这个文件,例如2.4需要...2_4.dll
2.php和apache的ts/nts保持一致
3.vc9编译的php和apache官版兼容有问题,需要另一个非官方的apache版本

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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template