LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 02:24 AM   #1
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

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 02:26 AM.
 
Old 01-29-2015, 11:56 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

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

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, 12:57 PM   #4
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
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 12:59 PM.
 
Old 01-30-2015, 03:55 PM   #5
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

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, 04:17 PM   #6
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
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, 04:27 PM   #7
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

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, 04:30 PM   #8
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 09:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration