Hi everyone..

gesf

New member
You need to set the DocumentRoot and the PHPIniD directives in your Apache httpd.conf so it can work with Php. Also do LoadModule.
Example:
Code:
# At the LoadModule section
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "c:/php"
DocumentRoot "D:\www"
Find those directives in your http.conf and change their values. You might need to add some.
This is just an example. Please read the directives' comments.
What are your PHP and Apache versions and what platform are you running under !?
 
Back
Top