Thursday, January 06, 2011

Downgrading PHP from 5.3 to 5.2 on Snow Leopard

Tonight I am following these instructions to downgrade my installation of PHP from 5.3 to 5.2, so that I can reliably develop Drupal and WordPress on my Mac:

http://trikks.wordpress.com/2009/10/07/downgrading-php-5-3-0-to-5-2-10-on-snow-leopard-server/

I'll let you know if I run into any snags...

First thing I needed to do was to install the latest version of MacPorts, which I got from here:

http://www.macports.org/install.php

The package installer was fine. One thing to keep in mind is, if you have a Terminal window open before you install MacPorts, you've got to restart Terminal in order to use it!

"sudo port install php52 +mysql5 +sqlite" takes a LONG time...

I tried this, but it did not work:
http://trikks.wordpress.com/2009/10/02/restart-all-running-services-in-os-x-server/

sudo: serveradmin: command not found

No comments: