This article describes various file paths and directories that are important for managing web projects. These include paths for domains, subdomains, web users, as well as for programs such as Perl, Sendmail, PEAR, ImageMagick, GraphicsMagick, Ghostscript, wkhtmltopdf, pdftotext, catdoc, and pdfinfo. It is recommended, when used with PHP, to include the path in the open_basedir setting or set it to "none" to ensure proper functionality.
| Domain | /home/httpd/vhosts/yourdomain.com/httpdocs |
| Subdomain | /home/httpd/vhosts/yourdomain.com/WebRootForSubdomain |
| Web User | /home/httpd/vhosts/yourdomain.com/web_users/webuser |
| Perl | /usr/bin/perl |
| Sendmail | /usr/sbin/sendmail |
| PEAR | /usr/share/pear |
| ImageMagick | /usr/bin or /usr/local/bin (version with PDF support) |
| GraphicsMagick | /usr/bin/gm |
| Date | /bin/date |
| Ghostscript | /usr/bin/gs |
| wkhtmltopdf | /usr/bin/wkhtmltopdf |
| pdftotext | /usr/bin/pdftotext |
| catdoc | /usr/bin/catdoc |
| pdfinfo | /usr/bin/pdfinfo |
When used with PHP, the path should be included in the open_basedir setting or set to "none".