Apache, MySQL and PHP on Snow Leopard
05/19/2010
Snow Leopard comes with PHP 5.3 installed by default. Since I do a lot of Drupal development, I can't actually use that version of PHP and I needed to downgrade to PHP 5.2.x. I personally do not like the way that Apple has setup their AMP stack, so this is how I was able to get an acceptable one setup.
Note: This method uses MacPorts, so you will need to install that first.
sudo port clean php52
sudo port -f uninstall installed
sudo port installed
sudo port install grep
sudo port install apache2
sudo port install mysql5-server
sudo port install php52 +apache2 +mysql5
Tags
1and1
Apache
Audio
Austin Hill
Automator
Budget Travel
Career
cloud foundry
Community
Consulting
Cyberduck
Debian
Development
Drupal
EC2
European Travel
Eurotrip
ffmpegx
Framework
Git
git-http-backend
github
GiveMeaning
Image
Mac
Macports
Memcached
Mesh Conference
mod_python
Mongrel
Mongrel Cluster
Mouse Gestures
MySQL
NginX
node.js
Package Management
Parallels
Philanthropy
PHP
Preview
Python
Rails
Rapid Development
Relational Scaling
Resize
Rip
RoR
Ruby On Rails
S3
Satchmo
SimpleDB
SQS
Textmate
Tom Williams
Trends
Ubuntu
Web
Web Services
Wordpress
Workflow
Will Stevens
I am a software developer with a primary focus on web applications. I am always trying to find new and better ways to solve business problems with elegant software.

