Home  >  Article  >  Backend Development  >  apache2.4+php5.6 不能加载php5apache2_4.dll,该怎么解决

apache2.4+php5.6 不能加载php5apache2_4.dll,该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:12:23999browse

apache2.4+php5.6 不能加载php5apache2_4.dll
httpd.exe: Syntax error on line 530 of C:/workspace/work/Apache24/conf/httpd.con
f: Cannot load C:/workspace/work/php564/php5apache2_4.dll into server: \xd5\xd2\
xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3

我的php路径C:/workspace/work/php564/
dll文件也存在
vcredist_x64也尝试了各种版本 08 12 13
始终报这个错。

去掉PHP的模块就行了:
# php5 support
#LoadModule php5_module "C:/workspace/work/php564/php5apache2_4.dll"
#AddHandler application/x-httpd-php .php
# configure the path to php.ini
#PHPIniDir "C:/workspace/work/php564/"

------解决思路----------------------
windows2003 ???
php 5.5 开始就不支持了

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