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 »

Developing a WordPress Site Locally

So you want to develop a WordPress site, but you have no idea where to start? First things first, you need to set up your local development environment. It’s really simple, and here’s how you do that on a Mac. First, download and install MAMP. This is your local web server where you will run […]

Read More »