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
https://forums.phpfreaks.com/topic/32386-installconfig-problem-help-please/
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.
i have.  sorry i should have told you i changed it is both places.  The funny thing is the "It Works" apache defualt page does not exist. 

lol

as i was typeing this i just relized what might be the problem, the page was cahced, i just cleared my private data and everything works fine now.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.