Firstly, my PHP setup had magically destroyed itself when I came to load a site last night. To be fair, I hadn't used it in several months...but I got it up and running again.
Today, I turn on the Mac, load up the same site I started working on last night, and apparently no PHP is executed...either Snow Leopard has some serious issue with restarts, or the mice have been at my computer again whilst I'm sleeping, because there's no way this situation is even slightly logical, or even possible.
PHP is just in the source code of the site, like:
<? require_once 'headers.php'; ?>
The HMTL works fine, and the index.php will go into safari without looking like a script ... but the PHP just gets shoved into the source code. Other pages on the site show the PHP code as text on the page. But it was working before I turned the computer off last night?!
I can't make sense of this, I would really appreciate some help trying to figure out what has happened.
I'm trying to load a PHP site located at /Users/Me/Sites/newsite, and no PHP is being executed, yet if I go to phpMyAdmin, at 'Users/Me/Sites/pma' the PHP and MySQL work together fine?!
I'm lost. It doesn't make sense to me, and I'm honestly fed up of problems with Apache on OS X at the moment.
As I said, any questions you have about my setup, or help/guidance would be MUCH appreciated. I'm so bored of problems at the moment. :cool: