how to upgrade php on debian linux

How do you upgrade php on debian linux? I’ve tried:

apt-get update
apt-get dist-upgrade
apt-get check
apt-get install php5

and no matter what, it keeps saying it’s already the newest version, but the version we have installed is 5.3.3 and they’re on 5.4.9.

Why can it not detect that there is a newer version?

Do you have to manually install it somehow?


I found the instructions on the PHP manual site. Here is the link. Hope it helps!

Let us know if you can get it working or if you recieve an error…

Sponsor our Newsletter | Privacy Policy | Terms of Service