apache2.4+php5.6 不能加载php5apache2_4.dll

ringa_lee
Release: 2023-02-28 16:28:01
Original
3106 people have browsed it

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/"  

回复讨论(解决方案)

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  
httpd.exe:在530行的C语法错误:C:/workspace/work/Apache24/conf/httpd.conf  
:无法加载C:/workspace/work/Apache24/php5apache2_4.dll到服务器:找不到指定的程序。  
逐个开放你注释掉的行  
应该是 php.ini 中设置不对

php.ini都是按照官方文档配置类一些,把那几个必要的选项前面的分号都去了。

php.ini 中没有必选项,不要 php.ini php 照样工作

去了一样报错,,奇怪了,我的apache2.4.10, php5.6.4, windows2003 64位的。

木有人帮我了吗?

windows2003 ???  
php 5.5 开始就不支持了


我今天早上也发现了找个问题,现在升级到了2008,非常感谢!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!