Monthly Archives: September 2008

PHP debugging

Sometimes there are little errors in your PHP scripts and you need to debug them. If you don’t have access to the global PHP error log, then it’ll be difficult to see what goes wrong and where.

However if you’re able to put a .htaccess file on your web host, then you can add some little commands to that file to enable PHP logging and displaying. This allows you to find out what’s happening in your script. Continue reading