Sounds like your host is running PHP 4. My host runs both, actually, so I can pick and choose which version I want to use. Running PHP 4 is currently the default, so if I don’t take my “extra step” then my PHP files are prompted to download instead of displaying.
If this is the case (and you’ll have to ask your host, because this is a hosting thing, not a WordPress thing), then open up your .htaccess file (if you don’t have one, just make one) and at the very top, put in this:
AddHandler application/x-httpd-php5 .php
AddType application/x-httpd-php5 .php
Save, upload to server – and now your pages should parse instead of download. (Again, provided your host is set up to run this way. If not, you’ll have to ask them what’s up.)
You can certainly try this and see if it works without contacting your host. If it *doesn’t* work, then you just delete the .htaccess file. No harm, no foul.
Doodlebee thanks so much. So how come everything suddenly changed? It was working fine for the last 6 weeks. Was it the upgrade?
Thanks again!
Rick
Whoops… it says in CPanel on BlueHost that it’s running PHP 5.2.10. Shouldn’t that work?
Thanks again!
Nah – mine says that too, but it still runs PHP4 by default. I guess it’s just telling you php5 is available.
This has NOTHING to do with WordPress. It’s all about your host. The upgrade had nothing whatsoever to do with this, except for the fact that 2.8 is using PHP5 code – which honestly it’s about time, because PHP4 is way too old.
Thanks again Doodlebee (cool name). I talked to BlueHost and they said it was because they were doing a server upgrade. Hope their right.
Anyway most of my Nav links are working again except for just one. So I guess I’ll wait and see what happens.