Board index   FAQ   Search  
Register  Login
Board index System Administration Server installation and configuration

Hi everyone..

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

Postby gesf » 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 !?
User avatar
gesf
Moderator
Moderator
 
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden

Re: Hi everyone..

Postby kelly7898 » Tue Mar 23, 2010 3:52 am

Thank you for the post.
Hi guys, Im a newbie. Nice to join this forum.
_________________
Watch How To Train Your Dragon Online Free
kelly7898
New php-forum User
New php-forum User
 
Posts: 1
Joined: Tue Mar 23, 2010 3:47 am


Return to Server installation and configuration

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.