Blog Posts

Easily test PHP 5.4 beta on OS X with php-osx

As you may have read on this blog, we (together with local.ch) provide a ready-to-run compiled PHP package for OS X (Snow Leopard and Lion) for easy installation over at php-osx.liip.ch.

And since the first beta of the next major release of PHP was released a few days ago, I thought we could provide packages for people who'd like to test it and see if there software is still running. And make adjustments or report bugs, if it doesn't. Complaining after the official stable release was made is usually too late, so testing your software against beta releases is very important. For your project and for PHP.

Installation is almost as easy as for the stable release. If you didn't install php-osx before, either install the stable release with

curl -s http://php-osx.liip.ch/install.sh | bash -

or just the installer with

curl -s -o /tmp/packager.tgz http://php-osx.liip.ch/packager/packager.tgz
sudo tar -C /usr/local  -xzf /tmp/packager.tgz

then just do

sudo /usr/local/packager/packager.py install beta-frontenddev 

and you're ready to go.

If you want to revert back to the stable PHP, just change the symlink of /usr/local/php5 to some older installation

We will regularly update that package so that it contains the latest bug fixes of the PHP 5.4 branch

Bugs about PHP should be reported at bugs.php.net, bugs or feature request about the php-osx package can be filed at github.com/liip/php-osx/issues. Pull Requests are of course also welcome.

Happy Testing!

Related Entries:
- PHP 5.6.0-alpha1 for php-osx released
- PHP 5.4.0RC1 for OS X on php-osx.liip.ch
- Automatically switching between different Time Machine disks
- Leopard native apache with custom (64bit) PHP
- Slick (on OS X) vs. Ugly (on XP) Software

About the author

Comments [0]

Add a comment

Your email adress will never be published. Comment spam will be deleted!