Domenico
Member
- Messages
- 117
- Reaction score
- 0
- Points
- 16
Hello,
With the recent modifications to the server configuration, the php global variable $_SERVER['DOCUMENT_ROOT'] is now set to usr/local/apache/htdocs instead of the user's home directory (/home/*username*/public_html/). Since I use this variable a lot in my site, the site is no longer working correctly (see http://s4.x10hosting.com). I did some research and it seems that several people have been affected by this problem (see http://www.google.ca/search?&q=site:x10hosting.com/forums+%22usr/local/apache/htdocs%22).
I was wondering if the DOCUMENT_ROOT variable is going to be reset to its previous value when you are finished with your updates and such, or if I should go ahead and recode the affected portions of my site.
Thank you,
Domenico
With the recent modifications to the server configuration, the php global variable $_SERVER['DOCUMENT_ROOT'] is now set to usr/local/apache/htdocs instead of the user's home directory (/home/*username*/public_html/). Since I use this variable a lot in my site, the site is no longer working correctly (see http://s4.x10hosting.com). I did some research and it seems that several people have been affected by this problem (see http://www.google.ca/search?&q=site:x10hosting.com/forums+%22usr/local/apache/htdocs%22).
I was wondering if the DOCUMENT_ROOT variable is going to be reset to its previous value when you are finished with your updates and such, or if I should go ahead and recode the affected portions of my site.
Thank you,
Domenico