搭建如下php开发环境:
windows 8.1
php-5.2.14-win32-vc6-x86.zip下载连接
httpd-2.2.31-x64.zip
已经成功配置apache2.2并且正常运行,在htpd.conf文件中配置如下项目之后
#begin php installer edits - remove only on uninstallphpinidir d:/pf/php/loadmodule php5_module d:/pf/php/php5apache2_2.dlladdtype application/x-httpd-php .php#end php installer edits - remove only on uninstall
重启apache报错如下:
d:\pf\apache\bin>httpdhttpd: syntax error on line 132 of d:/pf/apache/conf/httpd.conf: cannot load d:/pf/php/php5apache2_2.dll into server: %1\xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\xa3
路径配置肯定是对的。在网上也没有找到有用的信息,暂时已经没有思路了,请各位指导指导,感激不尽。
回复内容: 搭建如下php开发环境:
windows 8.1
php-5.2.14-win32-vc6-x86.zip下载连接
httpd-2.2.31-x64.zip
已经成功配置apache2.2并且正常运行,在htpd.conf文件中配置如下项目之后
#begin php installer edits - remove only on uninstallphpinidir d:/pf/php/loadmodule php5_module d:/pf/php/php5apache2_2.dlladdtype application/x-httpd-php .php#end php installer edits - remove only on uninstall
重启apache报错如下:
d:\pf\apache\bin>httpdhttpd: syntax error on line 132 of d:/pf/apache/conf/httpd.conf: cannot load d:/pf/php/php5apache2_2.dll into server: %1\xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\xa3
路径配置肯定是对的。在网上也没有找到有用的信息,暂时已经没有思路了,请各位指导指导,感激不尽。
最终也没有解决掉can't load php5apache2_2.dll的问题。
从网上下载了一个php版本为5.2.17的php study 凑合着用.....
可以的,64位系统兼容32位软件
我这里有很多32位的,今天技术总监要求我装5.2的,网址在http://windows.php.net/downloads/releases/archives
一般 64位的系统可以安装 32位的软件的,没问题的,win7 环境下我都是64位系统,搭配的是 32位apache + 32位php 的。
用5.3以上吧
为啥不可以呢。。