Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

It's been some time now since the release of PHP 5.3. I can't wait to work with it, but the Ubuntu developers have decided not to include it in the APT repository until 10.04. I don't want to wait that long, it's ridiculous.

What I find strange is that there must be many, many more people who want to install PHP 5.3 on their Ubuntu server as well. Yet I cannot find a package or alternate repository anywhere on the web, only instructions on making your own (which I am not skilled enough to do and is also rather hacky).

Am I looking in the wrong direction, or is there really nothing out there that will let me install the newest PHP with dpkg/apt?

share|improve this question
    
If you do make one, then you should host it somewhere (e.g. Launchpad's PPAs), so that others can use it. :) –  Rory Dec 18 '09 at 12:57
add comment

3 Answers

Probably your best bet is to use the PHP5.3 packages in Debian Experimental.

http://packages.debian.org/source/experimental/php5

I can not tell you how different the Debian and Ubuntu packages are, but they should work reasonably well. You might need to recompile them for your Ubuntu release if various libraries require different versions. These packages are what will appear, in some form or another, in Ubuntu 10.04.

You're totally on your own with them though. If your system breaks, you get to keep both bits. You might consider following the mailing list at pkg-php-maint@lists.alioth.debian.org

share|improve this answer
    
I'm using PHP 5.3 binaries from Debian and they're working fine on Ubuntu Server Jaunty. –  Adam Gibbins Oct 19 '09 at 21:07
add comment

You can rebuild the Debian PHP5 package for your distribution:

aptitude install devscripts build-essential
# You'll probably need to adjust the path to the .dsc file
dget -u -x http://ftp.de.debian.org/debian/pool/main/p/php5/php5_5.3.0-3.dsc
cd php5*
debuild -us -uc # It may ask for some dependency first
ls ../*.deb
share|improve this answer
    
apt-get build-dep php5 –  andol Dec 18 '09 at 13:10
add comment

see my answer here

(Basically, use these packages :) )

Hope it helps!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.