Wells-it.com - Web Hosting

Viewing index.php

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
Renegade's picture
Moderator

He has: 2,944 posts

Joined: Oct 2002

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.

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

Quote: Could it be that the servers don't support PHP

Yep or the handler isn't set for .php pages.

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

Busy's picture
Modrater

He has: 6,157 posts

Joined: May 2001

AddType application/x-httpd-php .php .phtml .html

done the ole phpinfo() page ?