Home >Backend Development >PHP Tutorial > apache的httpd.conf文件配置“LoadModule php5_module”跟“PHPIniDir”之后,无法启动

apache的httpd.conf文件配置“LoadModule php5_module”跟“PHPIniDir”之后,无法启动

WBOY
WBOYOriginal
2016-06-13 12:35:01909browse

apache的httpd.conf文件配置“LoadModule php5_module”和“PHPIniDir”之后,无法启动
apache版本:httpd-2.2.25-win32-x86-openssl-0.9.8y.msi
php版本:php-5.5.5-Win32-VC11-x64.zip

增加的配置文件如下:
LoadModule php5_module "D:/PHP/php5apache2_4.dll"
PHPIniDir "D:/PHP"
AddType application/x-httpd-php .php .html .htm

当我去掉上面的配置后能成功启动。难道是apache版本的问题?请各位高手帮个忙。

apache php
Statement:
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