Btw, I apologize if this is the wrong place to post this. I wasn't sure which one to post in.
PHP displaying as code in browser
Moderator: General Moderators
PHP displaying as code in browser
Hey everybody!
I'm new with PHP and MySQL and the whole deal and... I'm having some trouble...actually a lot of trouble...actually...it's a brutal struggle between man and machine. Here's what's happening: the server is my local machine. I'm running OS X 10.5.8. The problem is as the post title says. PHP was working fine before I installed GD yesterday. Now it seems something has gone terribly wrong. I'm kind of out of my element here, so I really hope you guys can help me troubleshoot this. I don't even know where to begin.
Btw, I apologize if this is the wrong place to post this. I wasn't sure which one to post in.
Btw, I apologize if this is the wrong place to post this. I wasn't sure which one to post in.
Re: PHP displaying as code in browser
Hm, "Installation and Configuration" is probably a better option, but anyway, check your server's registered MIME types, and make sure it still knows to treat *.php with the PHP extension, rather than delivering it as plain text.