Computer

PHP/Oracle Development


Syllabus
Schedule
Reading
Discussion
Project
Test
Resource
Tip

Document Root

 

2. The document root is the file system directory in which files need to be placed in order to be run by the Web server.

The location of your default Zend Server document root depends on the operating system and the Web server you are using:
On Microsoft Windows:
o If Zend Server is running on Microsoft IIS - C:/inetpub/wwwroot
o If Zend Server is running on Apache - C:/Program Files/Zend/Apache2.2/htdocs
o If you changed the location of your Zend Server installation, your document root will be located at <Zend_Server_installation_directory>/Apache2.2/htdocs, where <Zend_Server_installation_directory> is the location of the directory in which your Zend Server is installed.
On Linux:
o If you installed Zend Server from a repository (DEB or RPM packages), the location of your document root is defined by your distribution's Apache packages, and will vary depending on your distribution and configuration.
Common locations include:
 Debian, Ubuntu - /var/www
 Fedora Core, RHEL, CentOS - /var/www/html
o If you installed Zend Server using the Generic Tarball package - /usr/local/zend/apache2/htdocs.
If you changed the location of your Zend Server installation, your document root will be located at <Zend_Server_installation_directory>/apache2/htdocs, where <Zend_Server_installation_directory> is the location of the directory in which your Zend Server is installed.
On Mac OS X: /usr/local/zend/apache2/htdocs
Info from: http://www.zend.com/en/products/server/faq#faq2

 

By George Watson (Summer 2010)