Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

doc_root setting in FreeBSD/apache

Status
Not open for further replies.

kingmufasa

IS-IT--Management
Jun 26, 2002
1
CA
Hi,

I was wondering, in the examples i have seen for setting the doc_root from the php.ini file is usually shows an example of /usr/local/apache/htdocs.

Now first I am a little confused as to what this actually does ( I have read the description in the ini but its really not that helpful)

Second, what i am supposed to set it to? i do not have an htdocs folder and to me it seems like this setting is very similar to the user_dir setting. From what i read, this should be the directory where scripts are going to be run from (ie the user directory) so would i not set the 2 to be the same, for example

doc_root = public_php
user_dir = public_php

Any help would be most appreciated.

oh, this will be a virtual (shared server) environment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top