Viewing index.php
For some reason, the site I am working on, instead of showing the rendered index.php page, it shows the source instead, any reason why it would do that?
Could it be that the servers don't support PHP? Not too sure that's the reason though, the plan comes with a MySQL database.
Tested copying and pasting the source into an index.html file and it shows up fine.
chrishirst posted this at 16:00 — 28th January 2006.
He has: 379 posts
Joined: Apr 2005
Yep or the handler isn't set for .php pages.
Busy posted this at 18:53 — 28th January 2006.
He has: 6,151 posts
Joined: May 2001
AddType application/x-httpd-php .php .phtml .html
done the ole phpinfo() page ?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.