Home  >  Article  >  Backend Development  >  apache和php安装有关问题

apache和php安装有关问题

WBOY
WBOYOriginal
2016-06-13 12:02:45957browse

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
找不到指定的程序。

你的操作系统是什么?

Statement:
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