Debugging PHP Using the MAMP Error Logs

There’s a very simple technique you can use to debug PHP code in web applications run with MAMP in your development environment: write data to the PHP error log. No fancy debuggers or anything, just plain output to the error log. This is how I do it. First, open your terminal and run the following […]

Read More »