At the moment, version 5.4.45 is installed, you need to upgrade to 5.6, how to do it? Everything I do does not give any results, the versions remain old

Система: 2.6.32-openvz-042stab111.5-amd64 php5 -v PHP 5.4.45-0+deb7u2 (cli) (built: Oct 17 2015 09:01:48) php -v PHP 5.4.45-0+deb7u2 (cli) (built: Oct 17 2015 09:01:48) 

Demolished php see, tried to install 5.6 and again the same version !!!

  • one
    PHP version is strictly tied to the distribution version (for compatibility purposes - using ubuntu xy you can always be sure which package versions you will have), use phpbrew - etki

1 answer 1

Have you tried to add a repository with 5.6 and install a new version of the package?

For example, it is possible to use this instruction here .

After adding a package, you can check the available updates and versions of the package with the commands: yum list | grep "php" yum list | grep "php" or yum check-update