problem in config section

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
mustahid_ara
Forum Newbie
Posts: 2
Joined: Sun Jun 29, 2008 11:24 pm

problem in config section

Post by mustahid_ara »

i cant understand what is "webroot and docroot" in config.php.
Please specify me.
mustahid ara
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: problem in config section

Post by alex.barylski »

Usually they mean the same thing.

docroot is what your local apache configuration document root is ampped to.

Your server may have something like this:

Code: Select all

/var/www/htdocs
/var/www/public
When someone accesses your web site (http://www.mydomain.com) they will see files in your document root, such as index.html or index.php

Code: Select all

/var/www/htdocs/index.php
Post Reply