Hi everyone..

Discuss server installationa nd configuration issues here

Moderators: egami, macek, gesf

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

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.
Example:

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

gesf.org | sessionstart.com | urlms.com

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests