LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Unable to install Memcached with PHP 5.2 on CentOS (https://www.linuxquestions.org/questions/linux-server-73/unable-to-install-memcached-with-php-5-2-on-centos-845328/)

samarudge 11-19-2010 09:57 AM

Unable to install Memcached with PHP 5.2 on CentOS
 
So I just got a new centOS box with PHP 5.1.something but I wanted it on PHP 5.2, initialy running
Code:

yum update php
returned

Code:

php-pecl-memcache-2.2.6-1.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed)
Error: Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed)php-pecl-memcache-2.2.6-1.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed)
Error: Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed)

so, on the advice of my hosting company, I removed memcache for the update so I could at least get 5.2 running and that worked fine, but now I want to re-enable the memcache module so I run
Code:

yum install php-pecl-memcache
but I get the same missing dependency error.
php-zend-abi is part of php-common so I ran
Code:

yum --enablerepo=remi update php-common
(Remi has the latest php-common package)
but then I get a load of errors related to MySQL

Code:

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

How do I get memcache working with PHP again? I need to have php > 5.2 so downgrading is not an option and Memcache is important too
-Sam

knudfl 11-19-2010 12:43 PM

Looks like a dependency error in the package
mysql-libs-5.1.52-1.el5.remi.x86_64

I guess, that the install of mysql-libs-5.1.52-1.el5.remi.x86_64
should also update mysql-5.0.77-4.el5_5.3.x86_64 to
mysql-5.1.52-1.el5.remi.x86_64.
http://rpms.famillecollet.com/enterp...ses.group.html
http://rpms.famillecollet.com/enterp...iew/mysql.html

Suggest : Try this first : # yum search mysql
.. to identify the remi package.
And next : # yum install mysql-<version?>.x86_64
..


All times are GMT -5. The time now is 01:06 AM.