Jump to content

install/config problem, help please


Liquid Fire

Recommended Posts

Something always seems to go wrong when i try to install apache/php/mysql on my windows xp computer.  I have installed apache 2.0.59 and php 5.0.5 and have added

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "c:/php"

to the apache config file.  I have also changed the index.html index.html.var to index.php and changed the root to a folder with just index.php but it is still pulling the IT Works page, and i have deleted the folder too?  why would this be happening?>
Link to comment
Share on other sites

When you changed the the DocumentRoot you also need to change the <directory "path/to/document/root"> directive too which should be located after the following:
[code]#
# This should be changed to whatever you set DocumentRoot to.
#[/code]
Which is around line 259. When you have changed that save the httpd.conf and restart Apache for the changes to be made.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.