当前位置:首页 > 服务器技术 > apache

大牛求救啊:在apache中添加php模块时出现错误,怎么解决??

    apache: 2.2.31(x64版本)
    php   :5.2.5(不知道是否是32位,貌似官网里面没有64位版本的)
    
    载入语法:
PHPIniDir 'd:/php5.2.5'
LoadModule php5_module 'd:/php5.2.5/php5apache2_2.dll'
AddHandler application/x-httpd-php .php

然后就发生错误:httpd.exe: Syntax error on line 131 of D:/Apache2.2.31/conf/httpd.conf: Cannot load D:/php5.2.5/php5apache2_filter.dll into server:

很奇怪的是php5.2.5(不知道是否是32位,貌似官网里面没有64位版本的)目录下的apache模块很多:

大牛求救啊:在apache中添加php模块时出现错误,怎么解决?? - 文章图片

这该怎么安装??(要不是为了要正确运行ecshop,我就不弄这低版本的了.....),大神,求解救啊

回复内容:

    apache: 2.2.31(x64版本)
    php   :5.2.5(不知道是否是32位,貌似官网里面没有64位版本的)
    
    载入语法:
PHPIniDir 'd:/php5.2.5'
LoadModule php5_module 'd:/php5.2.5/php5apache2_2.dll'
AddHandler application/x-httpd-php .php

然后就发生错误:httpd.exe: Syntax error on line 131 of D:/Apache2.2.31/conf/httpd.conf: Cannot load D:/php5.2.5/php5apache2_filter.dll into server:

很奇怪的是php5.2.5(不知道是否是32位,貌似官网里面没有64位版本的)目录下的apache模块很多:

大牛求救啊:在apache中添加php模块时出现错误,怎么解决?? - 文章图片

这该怎么安装??(要不是为了要正确运行ecshop,我就不弄这低版本的了.....),大神,求解救啊

PHP 5.2 没有 64位 只有32位的

apache 2.2 不知道 是64 还是32的

apache 和 php 版本 要对应


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!