简体   繁体   中英

Apache web server is not Restarting? with php?

i was installed the Apche webserver sucessfully.it works fine when i run the local host in the browse.

But i am putting the # LoadModule php5_module "D:/php/php5apache2.dll" AddHandler application/x-httpd-php .php

configure the path to php.ini

PHPIniDir "D:/php"

in configuration file .The request is failed whenever i restart the server

Thanks in Adavnce please help me to overcome that issue

You need the following in your apache configuration file (with the appropriate paths).

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

You just put the sample.php in the appropriate place depending on your apache configuration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM