5 Replies - 959 Views - Last Post: 06 July 2009 - 07:41 PM

#1 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

XAMPP Question

Posted 04 July 2009 - 10:12 PM

I have installed XAMPP For Windows and have a quick (i.e n00b) question. In the XAMPP folder (C:\xampp) there is a folder named htdocs, is this where I should hold all my PHP files for the test website I'm working on, or should they be in the www folder inside C:\xampp\php?
Is This A Good Question/Topic? 0
  • +

Replies To: XAMPP Question

#2 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: XAMPP Question

Posted 04 July 2009 - 10:55 PM

i am using WAMP and i am saving my file in www/mywebisitedir/ other wise i can't browse my files, if there is www directory the you should save your files in it.

Hope it Help You :)

This post has been edited by noorahmad: 04 July 2009 - 11:10 PM

Was This Post Helpful? 1
  • +
  • -

#3 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1003
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: XAMPP Question

Posted 04 July 2009 - 11:03 PM

View PostPsychoCoder, on 4 Jul, 2009 - 09:12 PM, said:

I have installed XAMPP For Windows and have a quick (i.e n00b) question. In the XAMPP folder (C:\xampp) there is a folder named htdocs, is this where I should hold all my PHP files for the test website I'm working on, or should they be in the www folder inside C:\xampp\php?

C:\xampp\htdocs
Was This Post Helpful? 1
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: XAMPP Question

Posted 04 July 2009 - 11:08 PM

Thanks @MageUK and @noorahmad. I now have Dev-PHP set to use C:\xampp\htdocs as the home directory
Was This Post Helpful? 0
  • +
  • -

#5 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1003
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: XAMPP Question

Posted 04 July 2009 - 11:11 PM

No problem, you can always change/check it in C:\xampp\apache\conf, the DocumentRoot contains the path to where your files should be :)
Was This Post Helpful? 0
  • +
  • -

#6 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,066
  • Joined: 10-May 07

Re: XAMPP Question

Posted 06 July 2009 - 07:41 PM

You should be able to get away with telling apache (httpd.conf) where to look for the root directory. Especially if you are running virtual hosts.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1