Skip to main content
replaced http://askubuntu.com/ with https://askubuntu.com/
Source Link

I usualy do

apt-get update
apt-get upgrade

in order to keep my Debian 8.x server up to date. I also tried apt-get dist-upgrade, however, my PHP version is still the same one that I installed months ago when I set up my server.

It seems like I only get security updates, but not the current version. I also wonder what else might not be up-to-date (apache, MySQL, etc...).

This has been asked a lot about on Ask UbuntuAsk Ubuntu, but I didn't find a solution for Debian yet. I hope this isn't a duplicate!

So, How do I install the latest PHP version?

I usualy do

apt-get update
apt-get upgrade

in order to keep my Debian 8.x server up to date. I also tried apt-get dist-upgrade, however, my PHP version is still the same one that I installed months ago when I set up my server.

It seems like I only get security updates, but not the current version. I also wonder what else might not be up-to-date (apache, MySQL, etc...).

This has been asked a lot about on Ask Ubuntu, but I didn't find a solution for Debian yet. I hope this isn't a duplicate!

So, How do I install the latest PHP version?

I usualy do

apt-get update
apt-get upgrade

in order to keep my Debian 8.x server up to date. I also tried apt-get dist-upgrade, however, my PHP version is still the same one that I installed months ago when I set up my server.

It seems like I only get security updates, but not the current version. I also wonder what else might not be up-to-date (apache, MySQL, etc...).

This has been asked a lot about on Ask Ubuntu, but I didn't find a solution for Debian yet. I hope this isn't a duplicate!

So, How do I install the latest PHP version?

Source Link

Why does apt-get upgrade not install the latest PHP version?

I usualy do

apt-get update
apt-get upgrade

in order to keep my Debian 8.x server up to date. I also tried apt-get dist-upgrade, however, my PHP version is still the same one that I installed months ago when I set up my server.

It seems like I only get security updates, but not the current version. I also wonder what else might not be up-to-date (apache, MySQL, etc...).

This has been asked a lot about on Ask Ubuntu, but I didn't find a solution for Debian yet. I hope this isn't a duplicate!

So, How do I install the latest PHP version?