Installing PHP 5.2.x or 5.3.x on RedHat ES5, CentOS 5, etc

Written by Simon Green

Topics: News, Tech

I’ve had to follow this tutorial a few times myself now so decided I should share it with the world.

A few of our applications which make use of SOAP get a Segmentation Fault if run with PHP 5.1.x or lower. We believe this is due to a bug in PHP but can’t be sure, regardless it works fine in PHP 5.2.4 and above.

Problem is, RedHat ES5 does not have support at this time for anything higher than 5.1.6, and we didn’t want to break RPM dependancys etc by installing from source.

To install PHP 5.2.5 (Highest in repository at this time) you can make use of a RPM repository maintained by Remi. He has a repository for each distro, but to save you translating for the ES5 one I’ll give you the commands here. Run the following to get up and running:

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

You now have the Remi repository on your system, however it is disabled by default. Obviously you don’t want all of your packages been effected by this repository, however to enable it for a specific package, run the following:

yum --enablerepo=remi update php

You should now have the latest PHP5 installed:

# php -v

PHP 5.2.5 (cli) (built: Nov 10 2007 10:52:30)

Copyright (c) 1997-2007 The PHP Group

Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Update 12th Aug ‘08:
There is now an English page on the Remi site on how to configure repositories for all sorts of distros:

http://blog.famillecollet.com/pages/Config-en


Update 13th June ‘09:
The download link for the ES5 package has changed, post updated above.:

http://blog.famillecollet.com/pages/Config-en


Update 9th August ‘09:

It would seem this repo has now been upgraded to PHP 5.3.0.

Comments

122 Comments For This Post I'd Love to Hear Yours!

  1. Oki S. Bayu says:

    Hello,

    I use CentOS 5 and found this error when update my php 5.1 to 5.3 :

    # php -v
    PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

    # yum update php
    Loading “installonlyn” plugin
    Setting up Update Process
    Setting up repositories
    Reading repository metadata in from local files
    Could not find update match for php
    No Packages marked for Update/Obsoletion

    So i’ve tried to running this update without success too…

    # yum –enable remi install php
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    –> Populating transaction set with selected packages. Please wait.
    —> Package php.i386 0:5.3.2-1.el5.remi set to be updated
    –> Running transaction check
    –> Processing Dependency: php-cli = 5.3.2-1.el5.remi for package: php
    –> Processing Dependency: php-common = 5.3.2-1.el5.remi for package: php
    –> Restarting Dependency Resolution with new changes.
    –> Populating transaction set with selected packages. Please wait.
    —> Package php-cli.i386 0:5.3.2-1.el5.remi set to be updated
    —> Package php-common.i386 0:5.3.2-1.el5.remi set to be updated
    –> Running transaction check
    –> Processing Dependency: libedit.so.0 for package: php-cli
    –> Finished Dependency Resolution
    Error: Missing Dependency: libedit.so.0 is needed by package php-cli

    Do you have any clues for me?
    Thanks for your help.

  2. Oki S. Bayu says:

    Hi,
    I was fix it with this actions below…

    STEP 1:

    # su -c ‘rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

    Retrieving http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
    warning: /var/tmp/rpm-xfer.9aMGiP: Header V3 DSA signature: NOKEY, key ID 217521f6
    Preparing… ########################################### [100%]
    1:epel-release ########################################### [100%]

    STEP 2:

    # su -c ‘yum install php’
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    epel 100% |=========================| 3.4 kB 00:00
    Reading repository metadata in from local files
    c3e840a473e83d31404c74b2e 100% |=========================| 1.5 MB 00:09
    epel : ################################################## 4393/4393
    Added 4393 new packages, deleted 0 old in 19.89 seconds
    Parsing package install arguments
    Nothing to do

    STEP 3:

    # yum –enablerepo=remi update php-\*
    Loading “installonlyn” plugin
    Setting up Update Process
    Setting up repositories
    Reading repository metadata in from local files
    Resolving Dependencies
    –> Populating transaction set with selected packages. Please wait.
    —> Package php-cli.i386 0:5.3.2-1.el5.remi set to be updated
    —> Package php-common.i386 0:5.3.2-1.el5.remi set to be updated
    —> Package php.i386 0:5.3.2-1.el5.remi set to be updated
    –> Running transaction check
    –> Processing Dependency: libedit.so.0 for package: php-cli
    –> Restarting Dependency Resolution with new changes.
    –> Populating transaction set with selected packages. Please wait.
    —> Downloading header for libedit to pack into transaction set.
    libedit-2.11-2.20080712cv 100% |=========================| 3.7 kB 00:00
    —> Package libedit.i386 0:2.11-2.20080712cvs.el5 set to be updated
    –> Running transaction check

    Dependencies Resolved

    =============================================================================
    Package Arch Version Repository Size
    =============================================================================
    Updating:
    php i386 5.3.2-1.el5.remi remi 1.3 M
    php-cli i386 5.3.2-1.el5.remi remi 2.6 M
    php-common i386 5.3.2-1.el5.remi remi 949 k
    Installing for dependencies:
    libedit i386 2.11-2.20080712cvs.el5 epel 79 k

    Transaction Summary
    =============================================================================
    Install 1 Package(s)
    Update 3 Package(s)
    Remove 0 Package(s)

    Total download size: 4.9 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/4): php-cli-5.3.2-1.el 100% |=========================| 2.6 MB 01:01
    (2/4): php-common-5.3.2-1 100% |=========================| 949 kB 00:07
    (3/4): php-5.3.2-1.el5.re 100% |=========================| 1.3 MB 00:08
    (4/4): libedit-2.11-2.200 100% |=========================| 79 kB 00:01
    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 00f97f56
    Importing GPG key 0×00F97F56 “Remi Collet ” from http://rpms.famillecollet.com/RPM-GPG-KEY-remi
    Is this ok [y/N]: y
    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
    Importing GPG key 0×217521F6 “Fedora EPEL ” from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
    Is this ok [y/N]: y
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction

    WARNING : This php-* RPM are not official Fedora build and
    overrides the official ones. Don’t file bugs on Fedora Project.

    Use dedicated forums http://forums.famillecollet.com/

    Updating : php-common ######################### [1/7]
    Installing: libedit ######################### [2/7]
    Updating : php-cli ######################### [3/7]
    Updating : php ######################### [4/7]
    Cleanup : php-cli ######################### [5/7]
    Cleanup : php-common ######################### [6/7]
    Cleanup : php ######################### [7/7]

    Dependency Installed: libedit.i386 0:2.11-2.20080712cvs.el5
    Updated: php.i386 0:5.3.2-1.el5.remi php-cli.i386 0:5.3.2-1.el5.remi php-common.i386 0:5.3.2-1.el5.remi
    Complete!

    STEP 5:

    # /etc/init.d/httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: [ OK ]
    [root@fw yum.repos.d]# php -v
    PHP 5.3.2 (cli) (built: Mar 4 2010 21:52:46)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

    DONE.

    Hoping it can help your problem to upgrade PHP 5.1 to 5.3 with yum on CentOS 5. :) )

  3. Oki S. Bayu says:

    Ops! i think it just 4 steps and not to 5, DONE.. sorry for my mistake…. ;)

  4. Balu Nadig says:

    I have memcached 1.4.5 and php 5.3.2 running RHEL 5.3. I am getting the following eroor:

    PHP Warning: PHP Startup: memcache: Unable to initialize module
    Module compiled with module API=20050922
    PHP compiled with module API=20090626
    These options need to match

    Can someone help?

  5. Alex... says:

    Transaction Check Error:
    file /etc/my.cnf from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.x86_64
    file /etc/my.cnf from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386
    file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.47-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_4.2.i386

    Error Summary
    ————-

  6. Nirmik says:

    Thank you it is really needful.

  7. I am using PHP 5.3. but yet, i have not got any problems. which type of problems you had got?

  8. Khupcom says:

    For lastes PHP Version, just use CentOS-Testing.repo

    [c5-testing]
    name=CentOS-5 Testing
    baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

    Then $ yum update
    Regards,

    Eric from Free PDF Ebook Search Engine

  9. nhefr says:

    Thanks!

  10. I am looking for informative news and i get it through your blog so i am very much thankful to you for sharing such a great information.

  11. Mohan says:

    Working Great :) Thanks..

  12. Igor says:

    You should update the distro install to:
    wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
    rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

    It looks like epel-release-5-3 is no longer there:
    http://download.fedora.redhat.com/pub/epel/5/i386/

  13. Varun says:

    Wow, that was quick and helpful. Thanks a million!

  14. jeff says:

    I just ran across this page and I have redhat : Redhat Enterprise Linux 5

    are the instruction the same for EL5 as they are for ES5 ?

    thanks

  15. Poojan says:

    Hi,

    I am getting Transaction check error. There are some conflicts. Please help

  16. Zack says:

    I am having the same error as Alex (pasted below).

    Any ideas?

    Transaction Check Error:
    file /etc/my.cnf from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
    file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64

  17. Wang Zi says:

    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test

    Transaction Check Error:
    file /etc/my.cnf from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386
    file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.15-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-3.el5.i386

    Error Summary
    ————-

    I got the same error

  18. chrisbenson1980@gmail.com says:

    Thanks for sharing such a useful information sharing.

  19. HellDog says:

    Anyone resolved the ‘transaction check error’ as mentionned by Alex ?

  20. HellDog says:

    Finally i’ve uninstalled mysql before updating php ….then installed latest mysql again….

    It worked out for me ….even if its not a proper solution

122 Comments Trackbacks For This Post

  1. CentOS 5.2上でPHP 5.2.6にアップグレード | Yama's Memorandum
  2. PHP 5.2.x Install on CentOS/Fedora/RedHat at existence.org
  3. BrnDmp » Blog Archive » Installed Moodle 2.0 dev
  4. envision » Blog Archive » symfony 1.2 ?????????
  5. szisti’s blog » Blog Archive » CentOS - php
  6. weblog » Blog Archive » update php to 5.2 on centos 5.2
  7. [網站] 好站連結 (二) | 小惡魔 - 電腦技術 - 生活日記 - 美食介紹 - AppleBOY
  8. 如何將 Centos 5.3 php 5.1.* 升級到 php 5.2.* » Johnny Blog
  9. 如何將CentOS 5.3的PHP版本升級到5.3.0 « Runway06
  10. Martin Vorel Homepage » Blog Archive » jak na update php 5.1.6 na 5.2.6 na centos
  11. [RHEL]Installing PHP 5.2.x or 5.3.x on RedHat ES5, CentOS 5 | 小惡魔 - 電腦技術 - 生活日記 - 美食介紹 - AppleBOY
  12. | Mis apuntes en la web
  13. Como instalar php 5.2.11 en Centos usando YUM « El espacio de Jaime…
  14. jak na update php 5.1.6 na 5.2.6 na centos « Jen tak o všem a o ničem
  15. SugarCRM Installation « David Tenney's Blog
  16. Date
  17. Date | Ridonna70's Blog
  18. Install PHPUnderControl on CentOS 5.1 – blog
  19. php 5.1.6 json / Installing PHP 5.1.x 5.2.x or 5.3.x on RedHat ES5, | IT 達人
  20. ついかっとなってCentOS5.3にPHP5.3をインストールした。 » 少年は荒野を
  21. Setup CentOS 5 and PHPExcel to export PHP to xlsx

Leave a Comment Here's Your Chance to Be Heard!

Call us now
01252 560 260