P
P
Pavel K2015-12-30 20:43:23
PHP
Pavel K, 2015-12-30 20:43:23

How to upgrade from php 5.3.5 to 5.4 in Ubuntu 11.04?

Greetings!
On Ubuntu 11.04 VPS,
I want to upgrade from 3.5.5 to php 5.4.0
, since the distro is old,
I found the distro from ondrej / php5-oldstable,
but since there is either 10.04 or 12.04 from the nearest ones,
I think to use 10.04
, tell me, I'm doing everything right or you need to look for exactly under 11.04?
I can’t update the operating system yet =(
I tried to update, it says the latest version is installed O_o

add-apt-repository ppa:ondrej/php5-oldstable
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install php5

apt-cache policy php5
gives:
php5:
  Установлен: 5.3.5-1ubuntu7.11
  Кандидат:   5.3.5-1ubuntu7.11
  Таблица версий:
 *** 5.3.5-1ubuntu7.11 0
        500 http://old-releases.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
        500 http://old-releases.ubuntu.com/ubuntu/ natty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     5.3.5-1ubuntu7 0
        500 http://old-releases.ubuntu.com/ubuntu/ natty/main amd64 Packages

When updating, there were no errors when receiving =(
I don’t really want to compile manually =(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2015-12-30
@PavelK

since the distro is old,
Not just old, but not LTS. It probably has a lot of vulnerabilities, there have been a lot of them over the past year.
I can advise you to put 14.04 as the latest LTS.
And note that currently the minimum fully supported version of PHP is 5.6, and only security updates are released for 5.5.
For 5.4, there may even be open vulnerabilities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question