Can't find the Apache root directory in XP?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
icarpenter
Forum Commoner
Posts: 84
Joined: Mon Mar 07, 2005 8:12 am
Location: Kent, England

Can't find the Apache root directory in XP?

Post by icarpenter »

Hi I know this is a probably a bit basic but It is giving me big headachs...

I am migrating from IIS to Apache and the install seems to have gone OK as when I point to localhost in my browser I get an Apache web page...I am trying to find the root directory for this but I can't seem to find it anyware??

Under IIS it was in C:\inetpub\wwwroot

I know this is real basic stuff but I can't seem to find this directory or the index page that is currently being displayed...

Can anyone point me in the right direction...

Any help would be much appreciated..

Thanks Ian...
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

If you kept all default values during installation then you would find them in
C:\Program Files\Apache Group\Apache2\htdocs
User avatar
icarpenter
Forum Commoner
Posts: 84
Joined: Mon Mar 07, 2005 8:12 am
Location: Kent, England

Post by icarpenter »

Thats got it I can get the index page ok now if it is HTML but doesn't run any php scripts...

Is there something else I need do to enable php?
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

User avatar
icarpenter
Forum Commoner
Posts: 84
Joined: Mon Mar 07, 2005 8:12 am
Location: Kent, England

Post by icarpenter »

Thanks for your help I have now got it working...

Regards Ian.
Post Reply