Page 1 of 1

Newbie problem, php not processing

Posted: Mon Mar 30, 2009 1:49 pm
by baudoin
I have a Mac, OS 10.5.6 running Apache 2.2.9 and PHP 5.6

I was running through some tutorials after setting up apache and allowing all errors in the php.ini file. Firefox was showing my php code fine until a refresh returned no code. I checked the source and could see the php code, brackets, and all code were correct. I opened previous .php pages with correct code and still nothing. Could anyone tell me the first place I should look or what I should do. I could upload pages to my site while I'm learning but I that would be a pain.

Thanks

Re: Newbie problem, php not processing

Posted: Mon Mar 30, 2009 7:24 pm
by tech603
You would want to go into the php.ini and turn display_errors to on, so that when your code has errors it will output an error message which helps you with troubleshooting the code.

Hope this helps

Re: Newbie problem, php not processing

Posted: Tue Mar 31, 2009 12:55 am
by baudoin
What is the best way for me to reload Apache & PHP. This isn't working even with display_errors on. Thanks for any more help you might have.