VestaCP - обновление php 5.4 до 5.5

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Update process php 5.4 to 5.5 for VestaCP

Удаляем php:

# yum remove php-*

Включаем репы remi и remi-php55:

[root@68683 /]# vi /etc/yum.repos.d/remi.repo
[remi]
enabled=1
[remi-php55]
enabled=1


Делаем установку через эти репы:

# yum install --disablerepo=* --enablerepo=remi --enablerepo=remi-php55 php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-pecl-apc phpMyAdmin roundcubemail php-opcache php-xdebug
# service httpd restart

Проверяем:

# php -v
PHP 5.5.30 (cli) (built: Oct  1 2015 09:29:18)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
   with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans