Apache Web-Serving with Mac OS X: Part 3
Subject:   index.php empty
Date:   2002-03-19 10:52:37
From:   driftkop

Although I can see that php is enabled in the httpd.error log, I get an empty screen when I load the index.php file. I have my files in /Users/koen/Sites/ and use my own koen.conf file, so maybe in this case I need to add some more lines in my configuration file?


- Koen.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo index.php empty
    2002-03-19 14:15:23  Morbus Iff | O'Reilly Author [View]

    Nope - PHP, by default, is on for every user, regardless of their configuration. Are you sure you uncommented the "AddType" lines? These lines tell the PHP module that .php files should be interpreted - if they're not there, then the browser would just send the results straight to the window, with no processing.

    Check that the AddType's are uncommented, and check that the phpinfo line is correctly in that file. Then, load it in your browser, and if there's still nothing there, do a "view source" and see if there's anything in the HTML.