Hi everyone..

Discuss server installationa nd configuration issues here

Moderators: egami, macek, gesf

Post Reply
User avatar
Posts: 1716
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden

Tue Nov 07, 2006 1:44 am

You need to set the DocumentRoot and the PHPIniD directives in your Apache httpd.conf so it can work with Php. Also do LoadModule.

Code: Select all

# 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 !?
Gonçalo "gesf" Fontoura

Post Reply