PHP works with the Apache Web Server using the mod_php Apache module. The configuration for this interface is provided in the mod_php.conf file under the Apache configuration directory present in the following locations:
To complete the configuration, you need to insert the following line in the httpd.conf file available at:
sys:\apache\conf for Apache 1.3.x Web server
sys:\apache2\conf for Apache 2.0 Web server
include sys:\apache\conf\mod_php.conf
include sys:\apache2\conf\mod_php.conf
NOTE:Any additional configuration for mod_php can be done using the mod_php.conf file.