1

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?

Bart van Heukelom
  • 1,199
  • 5
  • 20
  • 41

3 Answers3

2

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

David Pashley
  • 23,151
  • 2
  • 41
  • 71
0

see my answer here

(Basically, use these packages :) )

Hope it helps!

simon
  • 239
  • 2
  • 4
0

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
Gonéri
  • 146
  • 1