LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2015, 01:24 AM   #1
Raakh5
Member
 
Registered: Mar 2012
Posts: 174

Rep: Reputation: Disabled
Unable to install php-mcrypt


Hello,

I tried as per http://kb.sp.parallels.com/en/118651

Code:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Preparing...                ########################################### [100%]
        package epel-release-6-8.noarch is already installed



[root@aa ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Please advise

Thanks in anticipation

Last edited by Raakh5; 01-29-2015 at 01:26 AM.
 
Old 01-29-2015, 10:56 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
are you legitimately 64 bit?
Code:
$ uname -m
try: http://www.ehowstuff.com/how-to-fix-...problem-error/
 
Old 01-29-2015, 02:47 PM   #3
Raakh5
Member
 
Registered: Mar 2012
Posts: 174

Original Poster
Rep: Reputation: Disabled
Code:
[root@aa ~]# uname -m
x86_64


[root@aa ~]# yum install yum-utils
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                            |  26 kB     00:00     
 * epel: ftp.nluug.nl
base                                                     | 3.7 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
Package yum-utils-1.1.30-30.el6.noarch already installed and latest version
Nothing to do
[root@hakim-group ~]# yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors

[root@hakim-group ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I did what this link suggest but above is the result

Please advise

Best regards
 
Old 01-30-2015, 11:57 AM   #4
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
maybe i'm not the best to answer this but i'll try some more.

what version of centos or redhat are you using?
Code:
uname -a
cat /etc/*-release
it seems to me it depends on a php version 5.3.xxx but a 5.4.xxx installed.

Last edited by sudowtf; 01-30-2015 at 11:59 AM.
 
Old 01-30-2015, 02:55 PM   #5
Raakh5
Member
 
Registered: Mar 2012
Posts: 174

Original Poster
Rep: Reputation: Disabled
Code:
# uname -a
Linux domainName 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


# cat /etc/*-release
CentOS release 6.6 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
thanks again
 
Old 01-30-2015, 03:17 PM   #6
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
does "yum update" work without error? try that then install. if not i read online that "REMI" repo has a newer version (and might be compatible).

skip all the EPEL and IUS sections and go to the REMI sections: http://www.rackspace.com/knowledge_c...os-and-red-hat

BUT DON'T COUNT ON ME KNOWING FOR SURE, i never had this issue for php-mcrypt myself.
 
Old 01-30-2015, 03:27 PM   #7
Raakh5
Member
 
Registered: Mar 2012
Posts: 174

Original Poster
Rep: Reputation: Disabled
Thanks again for your favorable reply

I used yum update command successfully but what it did it updated all module and install all plesk modules as art.* files. Now Plesk is not running its own modules but separate modules installed as 3rd party software that ruined my server. I strongly advise to not use "yum update" command in any case when Plesk is installed.

yum update and then tried yum install php-mcrypt but with no luck

Best regards
 
Old 01-30-2015, 03:30 PM   #8
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
oh goodness, i'm so sorry. i've never ever had a situation where updating was actually bad. again, so sorry.

someone, please help this poor fellow.
 
  


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
mcrypt php 5.2.17 XRayden Linux - Software 7 03-12-2012 01:37 PM
Depsolving problems php-mcrypt WzJazz Linux - Enterprise 6 07-04-2011 07:35 PM
[SOLVED] RHEL6 - no PHP-MCRYPT support baysie Red Hat 19 06-09-2011 04:06 PM
php-mcrypt? nigeledge Linux - Software 0 10-03-2004 09:39 AM
php and mcrypt mayankjohri Linux - General 3 06-29-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 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