markbokil.com

Debugging PHP apps

Debugging PHP can be difficult if you can’t see what is going on inside your web service. Lately I have been using a strategy of using log messages to monitor the values of variables. The log messages will go to your Apache error_log. In your PHP code add the below statement and give $myVar some […]

Posted in php | Tagged | Leave a comment