当前位置:Gxlcms >
PHP教程 >
apache2.4+php5.6不能加载php5apache2_4.dll,该怎么解决
apache2.4+php5.6不能加载php5apache2_4.dll,该怎么解决
时间:2021-07-01 10:21:17
帮助过:6人阅读
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 开始就不支持了