Click to See Complete Forum and Search --> : OS X 10.2.2 + PHP4 + Apache


jm90803
12-17-2002, 10:58 AM
When I try to load test.php, I get a blank page. Apache works when I just type in localhost, but soon as I add in my home directory and test.php... nothing. I looked in my httpd.conf file, and everything seems okay. I'm new at this, but I've tried to look up resources on how to solve this, but have been unsuccessful in finding one that will make my test.php load properly. Can anyone point me to right direction at least?

dalecosp
12-17-2002, 03:02 PM
Suggestion: Post the code for 'test.php' (using the appropriate tags.) View the source of the page in your web browser and tell us what you see....

Are you running PHP as an Apache module, or as a CGI/binary?

Apache needs to have an "AddType" line in httpd.conf. If you're running PHP as mod_php, it'll need to "AddModule" and "LoadModule", also.

HTH,