Newbie problem, php not processing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
baudoin
Forum Newbie
Posts: 2
Joined: Mon Mar 30, 2009 1:44 pm

Newbie problem, php not processing

Post 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
tech603
Forum Commoner
Posts: 84
Joined: Thu Mar 19, 2009 12:27 am

Re: Newbie problem, php not processing

Post 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
baudoin
Forum Newbie
Posts: 2
Joined: Mon Mar 30, 2009 1:44 pm

Re: Newbie problem, php not processing

Post 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.
Post Reply