Hi all:
I recently completed rewriting my site from ASP to PHP. I am now starting the process of migrating to Linux from Windows. I am a total newbie with Linux! Urghhh!
OK, on windows I was fine using $SERVER['DOCUMENT_ROOT'] for my requires. But now on the Linus server $SERVER['DOCUMENT_ROOT'] = /usr/local/apache/htdocs. When I asked my host about moving my files under this path they said you can but I would need to use an IP address and no my domain name to bring up the website. So that isn't a solution.
The path to my files is /home/signings/public_html/.
Something just doesn't seem right. $_SERVER['DOCUMENT_ROOT'] is the accepted way to preface a require (worked for me on Windows) but now on Linus this is a different path.
BTW, I am using cPanel as well. I am totally new to that too.
Any help appreciated.