I'm trying to install mcrypt inmy server with no luck so far.
Code:
# php -v
PHP 5.2.17 (cli) (built: Jan 7 2011 10:39:29)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
# cat /etc/issue
CentOS release 5.7 (Final)
Kernel \r on an \m
I have removed all repos from /etc/yum.repos.d/ except atomic. I have tried to install mcrypt from epel repo too but although the installation was successful the extension didn't work.
here is the output when i'm trying to install from atomic
Code:
# yum install php-mcrypt.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.14-6.el5.art set to be updated
--> Processing Dependency: php-common = 5.3.14-6.el5.art for package: php-mcrypt
--> Running transaction check
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-gd
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-xml
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-mbstring
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-mysql
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-imap
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-pdo
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-cli
---> Package php-common.x86_64 0:5.3.14-6.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.2.17-1.el5.art for package: php-devel
---> Package php.x86_64 0:5.3.14-6.el5.art set to be updated
--> Processing Dependency: libedit.so.0()(64bit) for package: php
---> Package php-cli.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-gd.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-imap.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-mbstring.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-mysql.x86_64 0:5.3.14-6.el5.art set to be updated
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: php-mysql
---> Package php-pdo.x86_64 0:5.3.14-6.el5.art set to be updated
---> Package php-xml.x86_64 0:5.3.14-6.el5.art set to be updated
--> Running transaction check
---> Package libedit.x86_64 0:3.0-2.20090923cvs.el5.art set to be updated
---> Package mysql-libs.x86_64 0:5.5.25-7.el5.art set to be updated
---> Package php-devel.x86_64 0:5.3.14-6.el5.art set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================
Installing:
php-mcrypt x86_64 5.3.14-6.el5.art atomic 48 k
Installing for dependencies:
libedit x86_64 3.0-2.20090923cvs.el5.art atomic 81 k
mysql-libs x86_64 5.5.25-7.el5.art atomic 1.1 M
Updating for dependencies:
php x86_64 5.3.14-6.el5.art atomic 2.8 M
php-cli x86_64 5.3.14-6.el5.art atomic 2.6 M
php-common x86_64 5.3.14-6.el5.art atomic 1.0 M
php-devel x86_64 5.3.14-6.el5.art atomic 1.3 M
php-gd x86_64 5.3.14-6.el5.art atomic 209 k
php-imap x86_64 5.3.14-6.el5.art atomic 88 k
php-mbstring x86_64 5.3.14-6.el5.art atomic 2.3 M
php-mysql x86_64 5.3.14-6.el5.art atomic 95 k
php-pdo x86_64 5.3.14-6.el5.art atomic 120 k
php-xml x86_64 5.3.14-6.el5.art atomic 225 k
Transaction Summary
=================================================================================================================================================================================
Install 3 Package(s)
Upgrade 10 Package(s)
Total size: 12 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /etc/my.cnf from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_6.6.x86_64
Error Summary
-------------
the same error generates with yum install php-mcrypt too. Any help would be really appreciated.
Thanks in advance.