ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 3
Subject:   index.php empty
Date:   2002-03-19 14:15:23
From:   morbus
Response to: index.php empty

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.