To set properly the document root when multiple webapps resides under the same websites, according to http://docs.webfaction.com/software/php.html#setting-php-s-document-root we need to:
Question: Do we need also to modify $_ENV['DOCUMENT_ROOT'] ? asked 29 Jul '12, 13:15 Boozezela |
The settings are independent. If you also need $_ENV['DOCUMENT_ROOT'], add to the set_document_root.php file like this:
answered 29 Jul '12, 14:37 timg ♦♦ |
For completeness, if you're actually trying to change the document root where the application is served, then you might be better served using a answered 08 Mar '14, 09:25 ryans ♦♦ |