strangelove Posted May 14, 2009 Share Posted May 14, 2009 Hello, I wondered if anyone can help me with this problem: I used to run PHP 5.0 with no problems on OS X 10.5 with Apache. Recently, I checked PHP again and it has stopped parsing in both my main browsers (Firefox and Safari.) Curiously, it parses fine in the preview window of Coda, a coding application I am using. I recently installed, wiped and re-installed MySQL after I had some problems. I'm not sure if this triggered the PHP problem as I haven't been using PHP in a while. I had some problems installing MySQL though, and it's possible in theory that I did something to affect PHP, though I don't know what. It may have nothing to do with it. I was wondering if anyone had had a similar problem and how they solved it; or if anyone could suggest how to solve it. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/ Share on other sites More sharing options...
jackpf Posted May 15, 2009 Share Posted May 15, 2009 The browser doesn't parse PHP, PHP does. What do you mean by "stopped parsing"? It just outputs the PHP to the page? Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/#findComment-834439 Share on other sites More sharing options...
strangelove Posted May 15, 2009 Author Share Posted May 15, 2009 Hi, Firefox shows a blank page. Safari shows the php code as text. Hope this helps. Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/#findComment-834442 Share on other sites More sharing options...
jackpf Posted May 15, 2009 Share Posted May 15, 2009 That's weird. Have you got error reporting turned on? Try just putting this in a script: <?php phpinfo(); ?> See what comes up... Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/#findComment-834443 Share on other sites More sharing options...
PFMaBiSmAd Posted May 15, 2009 Share Posted May 15, 2009 What is the URL you are entering in your browser? Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/#findComment-834444 Share on other sites More sharing options...
strangelove Posted May 15, 2009 Author Share Posted May 15, 2009 I realised I wasn't putting the files in the right folder... It's been a while since I touched php. Thanks. Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/#findComment-834450 Share on other sites More sharing options...
Ken2k7 Posted May 15, 2009 Share Posted May 15, 2009 The browser doesn't parse PHP, PHP does. Very nice. Link to comment https://forums.phpfreaks.com/topic/158196-browsers-not-parsing-php/#findComment-834455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.