Как сменить версию php с PHP 5.3 >> PHP 5.4 ispmanager CentOS

Как сменить версию php с PHP 5.3 >> PHP 5.4 ispmanager CentOS PHP 5.3 >> PHP 5.4 смена версий php ispmanager CentOS

PHP 5.3 >> PHP 5.4 смена версий php ispmanager CentOS

Для обновления PHP ветки 5.3.x до 5.4.x в дистрибутиве CentOS 6.4 и 6.5 потребуется подключить сторонний репозитарий atomic и после этого запустить команду обновления.
1
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
На CentOS 6.5 при запросе один раз нажать Enter.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
 
====================================================================
THIS SOFTWARE IS UNSUPPORTED.  IF YOU REQUIRE SUPPORTED SOFWARE
PLEASE SEE THE URL BELOW TO PURCHASE A NUCLEUS LICENSE AND DO NOT
PROCEED WITH INSTALLING THIS PACKAGE.
====================================================================
 
For supported software packages please purchase a Nucleus license:
https://www.atomicorp.com/products/nucleus.html
All atomic repository rpms are UNSUPPORTED.
Do you agree to these terms? (yes/no) [Default: yes] yes
 
Configuring the [atomic] yum archive for this system
 
Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-16.el6.art.noarch.rpm: OK
 
 
 
The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
  atomic          - [ACTIVATED] - contains the stable tree of ART packages
  atomic-testing  - [DISABLED]  - contains the testing tree of ART packages
  atomic-bleeding - [DISABLED]  - contains the development tree of ART packages
после чего выполнить команду
1
yum update php
На CentOS 6.5 нужно будет после этого 2 раза ввести "y":
1
2
3
4
5
6
7
8
9
10
11
...
Total download size: 7.5 M
Is this ok [y/N]: y
...
предупреждение: rpmts_HdrFromFdno: Заголовок V3 DSA/SHA1 Signature, key ID 5ebd2744: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
Importing GPG key 0x5EBD2744:
Userid : Atomic Rocket Turtle <admin@atomicrocketturtle.com>
Package: atomic-release-1.0-17.el6.art.noarch (installed)
From   : /etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
Is this ok [y/N]: y
Во время обновления может возникнуть ошибка корректности GPG подписи:
1
2
The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Чтобы продолжить обновление РНР можно проигнорировать ошибку подписи так:
1
yum -y --nogpgcheck update php
В зависимости от доступных ресурсов на сервере, обновление займет от нескольких минут до получаса. Далее потребуется перезапустить веб-сервер Apache:
1
service httpd restart
В случае использования ISPmanager так же следует обновить кэш

ISPmanager4: /usr/local/ispmgr/sbin/pkgctl cache ; killall ispmgr

ISPmanager5: Зайти в панель, в Features/ПО/Software и нажать кнопку "Обновить", галочку "Update available software" поставить, нажать "ОК".

More
hit.ua: посетителей за сегодня