The configuration community:
doc_root
Information
PHP's root directory on the server. Only used if non-empty. If PHP is configured with safe mode no files outside this directory are served. If PHP was not compiled with FORCE_REDIRECT you should set doc_root if you are running PHP as a CGI under any web server (other than IIS). The alternative is to use the cgi.force_redirect configuration below.
Syntax
Example



