News Archive
PhpRiot Newsletter
Your Email Address:

More information

up2date PHP5.3 packages for Ubuntu

Note: This article was originally published at Planet PHP on 17 April 2011.
Planet PHP
Most Linux distributions have a policy of not being to up to date with upstream releases of software, mostly for good reasons.AThis however is extremely painful for developers, as it means they often need to use really outdated version, containing all sorts of bugs - and even missing features.

This has been pissing me off for quite some time, so I have been running my own PHP builds for a while - but when it comes to deploying the apps... the sysadmins obviously start complaining that they have to invest a lot more work into maintaining the servers then they otherwise would have to.
So.. What can we do about that?ALaunchpad to the rescue!

Launchpad makes it really easy to provide your own custom packages, and even has a vast build farm to build packages automatically for different architectures and different Ubuntu releases. The only down side is it doesn't build rpm packages.. Thats fine by me, but that would be really useful for those wishing to deploy on a RedHat based distro.

After hunting down the debian PHP packaging repo, I forked it onto github (as php5-vanilla-ubuntu) and started ripping out some of their weird patches and enabled mysqlnd, but otherwise keeping their package splitting and the things you would expect from a debian package.

What does this mean?
- Well, if you are looking for up2date PHP packages (currently PHP5.3.6) to work with, checkout the PHP5.3 PPA on launchpad :)
This PPA works just fine as a drop-in-replacement for the default Ubuntu packages, and provides builds for Lucid and Maverick (there are some changes in Natty I need to look into..).

I have been running these packages for some time now, but if you notice any issues - please let me know :)