Hi,
I have this php website on some linux machine somewhere that is doing fine. I wanted to use my Mac OS X machine as a development server. So I downloaded all the php pages onto my tibook. PHP works after I installed the .so file from entropy and made changes to the apache config. BUT, for some reason, all my pages don't work because $DOCUMENT_ROOT is blank! How can it be blank?
The pages are referenced by using http://localhost/~username/blah.php, whereas on the live server it is http://somecompany.com/blah.php. Should there be a difference? I put on a test.php on /Library/Webserver/Documents and have it print out $DOCUMENT_ROOT, and again it failed! What gives? Does no one else have this problem? If so, can someone help? Is this a problem with entropy, os x, or just me? :-(
Thanks,
G
I have this php website on some linux machine somewhere that is doing fine. I wanted to use my Mac OS X machine as a development server. So I downloaded all the php pages onto my tibook. PHP works after I installed the .so file from entropy and made changes to the apache config. BUT, for some reason, all my pages don't work because $DOCUMENT_ROOT is blank! How can it be blank?
The pages are referenced by using http://localhost/~username/blah.php, whereas on the live server it is http://somecompany.com/blah.php. Should there be a difference? I put on a test.php on /Library/Webserver/Documents and have it print out $DOCUMENT_ROOT, and again it failed! What gives? Does no one else have this problem? If so, can someone help? Is this a problem with entropy, os x, or just me? :-(
Thanks,
G