LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-19-2010, 09:57 AM   #1
samarudge
Member
 
Registered: Nov 2010
Posts: 33

Rep: Reputation: 0
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
 
Old 11-19-2010, 12:43 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suhosin php module install on CentOS 5.3 spaceageliving Linux - Security 3 10-08-2009 11:46 AM
pls help me, unable to run php on centos 5 AD123 Linux - Software 1 01-23-2009 12:33 PM
Install PHP on a 64bit CentOS problem. HELP. jfernandez Linux - Software 5 11-20-2008 07:56 AM
Unable to update php on Centos 4 vins Linux - Newbie 1 06-23-2008 12:57 AM
Unable to install linux kernel 2.6.23.1 on CentOS 4 gdkool Linux - General 7 11-12-2007 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration