Configuring PHP on OS X Leopard: the Gritty Details (Part 2)

This is the second part of a series which reviews in-depth the process of building a PHP environment on OS X Leopard.  Please read Part 1 of this series before continuing.

A Little about PHP
Before building anything new, let’s look at what we already have.  OS X Leopard comes with PHP already installed as both the command line executable (from now on referred to as CLI) and as an Apache shared module.  

The PHP CLI and the Apache module of PHP are completely separate versions of PHP. 

Neither requires the other to function. You can generate one and not the other or both at the same time.  The reasons behind the two seperate versions is simple: Continue reading Configuring PHP on OS X Leopard: the Gritty Details (Part 2)

Configuring PHP on OS X Leopard: the Gritty Details (Part 1)

Introduction

If you’ve used PHP for development on OS X long enough, you’ve probably run into a few headaches (especially if your on a 64-bit system).  Maybe it was trying to enable GD support or use Xdebug, but at some point things went crazy.  There are many articles online dealing with fixes to individual issues (like activating GD), but often they’re conflicting and the writer doesn’t fully explain the mechanics of what’s being suggesting.  Usually, this isn’t too much of a problem as you’ll eventually find a combination of articles or post that gets up and running and for you to get back to coding PHP.  All is good… Continue reading Configuring PHP on OS X Leopard: the Gritty Details (Part 1)

.htaccess Files not working after OSX Leopard Upgrade

I upgrade from OS X 10.3 (Panther) to 10.5 (Leopard) and my .htaccess files in my Sites folder stopped working. . . . → Read More: .htaccess Files not working after OSX Leopard Upgrade