Home > Article > Backend Development > apache和php安装有关问题
apache和php安装问题
apache配置php模块:
LoadModule php5_module "D:/php/php-5.5.14/php5apache2_4.dll"
PHPiniDir "D:/php/php-5.5.14"
AddType application/x-httpd-php .html .htm .php
运行httpd -k install报错:
The Apache2.2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd: Syntax error on line 129 of D:/php/httpd-2.2/conf/httpd.conf: Cannot load
D:/php/php-5.5.14/php5apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\x
b8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
------解决方案--------------------
D:/php/php-5.5.14/php5apache2_4.dll 无法加载
\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
找不到指定的程序。
你的操作系统是什么?