PHP 5.3 on Debian
PHP 5.3 was recently released (exciting!) and added to the Debian Experimental repository. The repository and install instructions are located at http://osdir.com/ml/php-general/2009-07/msg00040.html .
Problem is, the line they give to install php 5.3 doesn't seem to help with the dependencies. Executing "apt-get -t experimental php5" on Debian Etch gives me: Code:
The following packages have unmet dependencies: Code:
The following packages have unmet dependencies: |
What is your sources.list now?
|
Well I've been starting up EC2 nodes to test this before I do it on my webserver (there's a whole lot of sites on there at risk if I do this wrong ;-)) But every time I get one, my sources.list looks like this:
Code:
deb http://ftp.debian.org/debian/ etch main |
Ok, etch is oldstable. I would wager that php5.3 in experimental isn't meant to be able to run on Etch. Perhaps not even Lenny (stable).
Picking one package .. I'm mostly right. libxml2 (>= 2.6.28) is not available in Etch but is in Lenny. You can either upgrade your system to Lenny, or attempt to build php5 from experimental on your Etch system. With all the dependencies it probably isn't worth it, but you can try something like: apt-get install build-essential apt-get build-dep php5 apt-get source -b -t experimental php5 And see if it will build. If it does, dpkg -i php5-somethingsomething.deb |
Thanks for the help, Alucard! Your prediction was right on -- I couldn't get it to install cleanly in Lenny either, but I've successfully taken a server from etch to squeeze and installed php 5.3.0 with all my modules.
Thanks again! |
All times are GMT -5. The time now is 05:06 AM. |