apachethe php php.ini httpd.conf
Integrated Apache2.2 and PHP (PHP 5.4 (5.4.25) VC9 x86 Thread Safe (2014-feb-05 23:44:37))
Apache configuration httpd.conf file is configured as follows
#我配置的信息 Apache loading PHP processing module
LoadModule php5_module "D:/program files/php-5.5.9/php5apache2_4.dll"
#用于指定php的 INI file, which is some configuration of PHP
Phpinidir "D:/program files/php-5.5.9"
#这个配置表示 when there is a resource that is *.php, there is PHP processing
AddType application/x-httpd-php. php. html. htm
Configuration in php.ini of PHP configuration Corpus
Extension_dir = "D:/program files/php-5.5.9/ext"
But start on the error, do not know what the above configuration problems, I hope to have to know the guidance of the point.
I use the httpd-t command times
Httpd:syntax error on the line 131 of D:/program Files/php-5.5.9/php5apache2_4.dll:
Cannot load D:/program files/php-5.5.9/php5apache2_4.dll into server:
What does it mean to not load here?? The path is not wrong!
Reply to discussion (solution)
LoadModule php5_module "D:/program files/php-5.5.9/php5apache2_ 2.dll"
Apache2.2 will use Php5apache2_2.dll.
Apache2.4 only used Php5apache2_4.dll.
LoadModule php5_module "D:/program files/php-5.5.9/php5apache2_ 2.dll"
Apache2.2 will use Php5apache2_2.dll.
Apache2.4 just use Php5apache2_4.dll why don't you have this Php5apache2_2.dll file???
How do I know that?
Where did you download the PHP package?
How do I know that?
Where did you download the PHP package?
PHP official website.