Updating php on mac os x

Rated 4.47/5 based on 765 customer reviews

For post-upgrade reference, we recommend making a backup of the 'etc' folder located in the Zend Server installation files (/usr/local/zend/etc-x.x.x).

There are plenty of options for setting up your development environments, including the ever-popular MAMP Pro that provides a nice UI on top of Apache, PHP and My SQL.You now have an advanced PHP installation running on Mac OS X 10.6 Snow Leopard with PHP 5.3.0, PEAR, PHPUnit, and XDebug. This is an updated version of our prior OS X development series.To activate PHP, you need to load the PHP 5 module in the Apache configuration file. PHPUnit, a member of the x Unit family of testing frameworks, provides an easy-to-use framework for testing and analyzing your PHP applications. Unfortunately, when I attempted to install PHPUnit using the default PEAR install on Mac OS X 10.6, I was told PEAR was too old and must be upgraded before I could install PHPUnit.Instead of upgrading Mac OS X's PEAR install, I install my own copy in Enter your administrator password if prompted and answer any questions that follow.

Leave a Reply