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
Newbie problem, php not processing
Moderator: General Moderators
Re: Newbie problem, php not processing
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
Hope this helps
Re: Newbie problem, php not processing
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.