Upgrade php 5.3.3 to 5.4.36 on CentOS 6 and Plesk 12

Chech the version of php

[root@dedicated ~]# php -v
PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.

Install access to the Atomic repo with this command:

[root@dedicated yum.repos.d]# wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Atomic Free Unsupported Archive installer, version 2.0.13

BY INSTALLING THIS SOFTWARE AND BY USING ANY AND ALL SOFTWARE
PROVIDED BY ATOMICORP LIMITED YOU ACKNOWLEDGE AND AGREE:

THIS SOFTWARE AND ALL SOFTWARE PROVIDED IN THIS REPOSITORY IS
PROVIDED BY ATOMICORP LIMITED AS IS, IS UNSUPPORTED AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ATOMICORP LIMITED, THE
COPYRIGHT OWNER OR ANY CONTRIBUTOR TO ANY AND ALL SOFTWARE PROVIDED
BY OR PUBLISHED IN THIS REPOSITORY BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
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-19.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

[root@dedicated yum.repos.d]# yum update php
Loaded plugins: downloadonly, fastestmirror, priorities
Setting up Update Process
Loading mirror speeds from cached hostfile
 * atomic: www8.atomicorp.com
 * base: mirror.keystealth.org
 * extras: centos-distro.cavecreek.net
 * rpmforge: mirror.webnx.com
 * updates: mirrors.easynews.com
340 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-40.el6_6 will be updated
--> Processing Dependency: php(x86-64) = 5.3.3-40.el6_6 for package: php-devel-5.3.3-40.el6_6.x86_64
---> Package php.x86_64 0:5.4.36-42.el6.art will be an update
--> Processing Dependency: php-common(x86-64) = 5.4.36-42.el6.art for package: php-5.4.36-42.el6.art.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.4.36-42.el6.art for package: php-5.4.36-42.el6.art.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-cli.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-mysql-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-soap-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-gd-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-xml-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-imap-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-mbstring-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-pdo-5.3.3-40.el6_6.x86_64
---> Package php-common.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-devel.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-devel.x86_64 0:5.4.36-42.el6.art will be an update
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-gd.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-imap.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-imap.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-mbstring.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-mbstring.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be updated
---> Package php-mcrypt.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-mysql.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-mysql.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-pdo.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-pdo.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-pecl-memcache.x86_64 0:3.0.5-4.el6 will be updated
---> Package php-pecl-memcache.x86_64 0:3.0.8-3.el6.art will be an update
---> Package php-soap.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-soap.x86_64 0:5.4.36-42.el6.art will be an update
---> Package php-xml.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-xml.x86_64 0:5.4.36-42.el6.art will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                            Arch                    Version                            Repository               Size
=============================================================================================================================
Updating:
 php                                x86_64                  5.4.36-42.el6.art                  atomic                  2.7 M
Updating for dependencies:
 php-cli                            x86_64                  5.4.36-42.el6.art                  atomic                  2.6 M
 php-common                         x86_64                  5.4.36-42.el6.art                  atomic                  934 k
 php-devel                          x86_64                  5.4.36-42.el6.art                  atomic                  2.5 M
 php-gd                             x86_64                  5.4.36-42.el6.art                  atomic                  144 k
 php-imap                           x86_64                  5.4.36-42.el6.art                  atomic                   80 k
 php-mbstring                       x86_64                  5.4.36-42.el6.art                  atomic                  945 k
 php-mcrypt                         x86_64                  5.4.36-42.el6.art                  atomic                   51 k
 php-mysql                          x86_64                  5.4.36-42.el6.art                  atomic                  136 k
 php-pdo                            x86_64                  5.4.36-42.el6.art                  atomic                  121 k
 php-pecl-memcache                  x86_64                  3.0.8-3.el6.art                    atomic                   83 k
 php-soap                           x86_64                  5.4.36-42.el6.art                  atomic                  222 k
 php-xml                            x86_64                  5.4.36-42.el6.art                  atomic                  171 k

Transaction Summary
=============================================================================================================================
Upgrade      13 Package(s)

Total size: 11 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt
Importing GPG key 0x4520AFA9:
 Userid : Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>
 Package: atomic-release-1.0-19.el6.art.noarch (installed)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Updating   : php-common-5.4.36-42.el6.art.x86_64                                                                      1/26
warning: /etc/php.ini created as /etc/php.ini.rpmnew
  Updating   : php-cli-5.4.36-42.el6.art.x86_64                                                                         2/26
  Updating   : php-pdo-5.4.36-42.el6.art.x86_64                                                                         3/26
  Updating   : php-mysql-5.4.36-42.el6.art.x86_64                                                                       4/26
  Updating   : php-5.4.36-42.el6.art.x86_64                                                                             5/26
Moving Zend extensions from php.ini to conf.d/zend_extensions_psa.ini and disabling custom ionCube if any... Removing php.ini                                                                         backup files... done
Trying to register the ionCube loader... done
  Updating   : php-devel-5.4.36-42.el6.art.x86_64                                                                       6/26
  Updating   : php-imap-5.4.36-42.el6.art.x86_64                                                                        7/26
  Updating   : php-mcrypt-5.4.36-42.el6.art.x86_64                                                                      8/26
  Updating   : php-xml-5.4.36-42.el6.art.x86_64                                                                         9/26
  Updating   : php-soap-5.4.36-42.el6.art.x86_64                                                                       10/26
  Updating   : php-gd-5.4.36-42.el6.art.x86_64                                                                         11/26
  Updating   : php-mbstring-5.4.36-42.el6.art.x86_64                                                                   12/26
  Updating   : php-pecl-memcache-3.0.8-3.el6.art.x86_64                                                                13/26
warning: /etc/php.d/memcache.ini created as /etc/php.d/memcache.ini.rpmnew
  Cleanup    : php-mysql-5.3.3-40.el6_6.x86_64                                                                         14/26
  Cleanup    : php-devel-5.3.3-40.el6_6.x86_64                                                                         15/26
  Cleanup    : php-5.3.3-40.el6_6.x86_64                                                                               16/26
  Cleanup    : php-cli-5.3.3-40.el6_6.x86_64                                                                           17/26
  Cleanup    : php-pdo-5.3.3-40.el6_6.x86_64                                                                           18/26
  Cleanup    : php-mbstring-5.3.3-40.el6_6.x86_64                                                                      19/26
  Cleanup    : php-gd-5.3.3-40.el6_6.x86_64                                                                            20/26
  Cleanup    : php-pecl-memcache-3.0.5-4.el6.x86_64                                                                    21/26
  Cleanup    : php-soap-5.3.3-40.el6_6.x86_64                                                                          22/26
  Cleanup    : php-xml-5.3.3-40.el6_6.x86_64                                                                           23/26
  Cleanup    : php-mcrypt-5.3.3-3.el6.x86_64                                                                           24/26
  Cleanup    : php-imap-5.3.3-40.el6_6.x86_64                                                                          25/26
  Cleanup    : php-common-5.3.3-40.el6_6.x86_64                                                                        26/26
  Verifying  : php-imap-5.4.36-42.el6.art.x86_64                                                                        1/26
  Verifying  : php-pdo-5.4.36-42.el6.art.x86_64                                                                         2/26
  Verifying  : php-mcrypt-5.4.36-42.el6.art.x86_64                                                                      3/26
  Verifying  : php-mysql-5.4.36-42.el6.art.x86_64                                                                       4/26
  Verifying  : php-xml-5.4.36-42.el6.art.x86_64                                                                         5/26
  Verifying  : php-soap-5.4.36-42.el6.art.x86_64                                                                        6/26
  Verifying  : php-pecl-memcache-3.0.8-3.el6.art.x86_64                                                                 7/26
  Verifying  : php-5.4.36-42.el6.art.x86_64                                                                             8/26
  Verifying  : php-gd-5.4.36-42.el6.art.x86_64                                                                          9/26
  Verifying  : php-cli-5.4.36-42.el6.art.x86_64                                                                        10/26
  Verifying  : php-mbstring-5.4.36-42.el6.art.x86_64                                                                   11/26
  Verifying  : php-common-5.4.36-42.el6.art.x86_64                                                                     12/26
  Verifying  : php-devel-5.4.36-42.el6.art.x86_64                                                                      13/26
  Verifying  : php-imap-5.3.3-40.el6_6.x86_64                                                                          14/26
  Verifying  : php-cli-5.3.3-40.el6_6.x86_64                                                                           15/26
  Verifying  : php-5.3.3-40.el6_6.x86_64                                                                               16/26
  Verifying  : php-common-5.3.3-40.el6_6.x86_64                                                                        17/26
  Verifying  : php-mbstring-5.3.3-40.el6_6.x86_64                                                                      18/26
  Verifying  : php-xml-5.3.3-40.el6_6.x86_64                                                                           19/26
  Verifying  : php-pdo-5.3.3-40.el6_6.x86_64                                                                           20/26
  Verifying  : php-mysql-5.3.3-40.el6_6.x86_64                                                                         21/26
  Verifying  : php-gd-5.3.3-40.el6_6.x86_64                                                                            22/26
  Verifying  : php-devel-5.3.3-40.el6_6.x86_64                                                                         23/26
  Verifying  : php-soap-5.3.3-40.el6_6.x86_64                                                                          24/26
  Verifying  : php-mcrypt-5.3.3-3.el6.x86_64                                                                           25/26
  Verifying  : php-pecl-memcache-3.0.5-4.el6.x86_64                                                                    26/26

Updated:
  php.x86_64 0:5.4.36-42.el6.art

Dependency Updated:
  php-cli.x86_64 0:5.4.36-42.el6.art          php-common.x86_64 0:5.4.36-42.el6.art  php-devel.x86_64 0:5.4.36-42.el6.art
  php-gd.x86_64 0:5.4.36-42.el6.art           php-imap.x86_64 0:5.4.36-42.el6.art    php-mbstring.x86_64 0:5.4.36-42.el6.art
  php-mcrypt.x86_64 0:5.4.36-42.el6.art       php-mysql.x86_64 0:5.4.36-42.el6.art   php-pdo.x86_64 0:5.4.36-42.el6.art
  php-pecl-memcache.x86_64 0:3.0.8-3.el6.art  php-soap.x86_64 0:5.4.36-42.el6.art    php-xml.x86_64 0:5.4.36-42.el6.art

Complete!
[root@dedicated yum.repos.d]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: pcre_exec in Unknown on line 0
PHP 5.4.36 (cli) (built: Dec 22 2014 16:06:29)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.

[root@dedicated yum.repos.d]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: pcre_exec in Unknown on line 0
PHP 5.4.36 (cli) (built: Dec 22 2014 16:06:29)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.