VestaCP - как обновить PHP до 7.2 на CentOS 6

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск

VestaCP - как обновить PHP до 7.2 на CentOS 6

# wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
# rpm -Uvh remi-release-6.rpm
# yum install yum-utils
# yum-config-manager --enable remi-php72


Временно удаляем phpMyAdmin и roundcubemail:

# yum remove phpMyAdmin-4.4.15.1-1.el6.remi.noarch
# yum remove roundcubemail-1.1.3-1.el6.remi.noarch


Обновляем:

# yum update
# php -v
PHP 7.2.6 (cli) (built: May 23 2018 10:08:15) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies


Возвращаем обратно phpMyAdmin и roundcubemail:

# yum --enablerepo=remi install phpmyadmin
# yum --enablerepo=remi install roundcubemail
Индекс цитирования