PDA

View Full Version : php on debian


ayn
2004-10-27, 00:33 AM
Just curious, has anyone here sucessfully upgraded php4 on woody from 4.1.2 to 4.2.x or 4.3.x? I couldn't find a backport for it, and PHP is very important to me, so I don't wanna try things unless I am fairly certain that it will work. :) Not sure if i should go for apt-pinning or not, looks a bit scare for a server.

Thanks.

--Andrew

ayn
2004-10-27, 11:57 AM
Well, I guess not that many people here have tried this. I did more research and will install the dotdeb.org packages, probably will do this tonight. I'll post instructions on how I upgrade the stuff later.

ayn
2004-10-27, 22:21 PM
Ok guys, I did it, it was so painless that it's not even funny. I love Debian!

Here's what I did:

add the following line in /etc/apt/sources.list:

deb http://packages.dotdeb.org ./

do the following:


apt-get update
apt-get dist-upgrade


(do a `apt-get -s dist-upgrade` first to see if you like what's gonna happen)

php4-curl was removed but not reinstalled, so do:

apt-get install php4-curl


restart apache and apache-ssl, if you have it:

/etc/init.d/apache restart && /etc/init.d/apache-ssl restart

you should be up and running.

YMMV though. :)

--Andrew