Installing PHP5.3 via MacPorts
Posted on 17/9/08 by Felix Geisendörfer
Hey folks,
this is post #28 of my 30 day challenge.
I originally wanted to continue my post on the linguistics of programming
today, but I was simply unwilling to publish what I have so far as it will require much more research to be of any significance.
So instead I'll share an easy way to play around with PHP5.3 if you're on a Mac. First of all install MacPorts (don't forget to install XCode before). Then run:
sudo port install php5-devel +apache2 +mysql5 +pear
To verify it worked run:
php --version
You should see:
PHP 5.3.0alpha1 (cli) (built: Sep 16 2008 16:03:17) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
After that, follow the instructions that from this general PHP5 via macports tutorial to get your new PHP5.3 configured with an Apache2 server.
Have fun with the new PHP : ).
-- Felix Geisendörfer aka the_undefined