开发者

Trouble adding PHP modules to Apache 2.2 Server

开发者 https://www.devze.com 2023-02-06 10:08 出处:网络
I run a Windows 7 x64 machine with apache 2.2 and PHP 5.2.17 Whenever I try to add the PHP dll to the httpd.conf开发者_如何学C file, apache will not start.

I run a Windows 7 x64 machine with apache 2.2 and PHP 5.2.17

Whenever I try to add the PHP dll to the httpd.conf开发者_如何学C file, apache will not start.

this is how it is being put into httpd.conf

LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

I have successfully managed to setup and run a Apache server with PHP before, so I'm not new to this, but I'm fairly certain that this is right.


If everything that's being output on launch is the DNS error, Apache is launching just fine. FQDN resolution is a warning, not an error.

0

精彩评论

暂无评论...
验证码 换一张
取 消