Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CentOS 6.0, php-mcrypt
PostPosted: Thu Jul 21, 2011 9:36 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
Hi,
where can I found a repo that has a php-mcrypt for CentOS 6 x86-64?


Last edited by sblantipodi on Thu Jul 21, 2011 9:44 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Jul 21, 2011 9:43 am 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
Remi has it.

http://rpms.famillecollet.com/enterpris ... crypt.html


Top
   
 Post subject:
PostPosted: Thu Jul 21, 2011 9:47 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
I'm using rpmforge repo also, do you think that I will have problem with REMI?
How can I install REMI on CentOS 6 64 bit without problem?

Thanks!


Top
   
 Post subject:
PostPosted: Thu Jul 21, 2011 12:05 pm 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
Not really advisable to mix repos, but basically you would:

Install remi and epel according to http://blog.famillecollet.com/pages/Config-en
Edit /etc/yum.repos.d/rpmforge.repo and add includepkgs=package 1 package2 package3 to restrict it to just the packages you use from rpmforge.
Edit /etc/yum.repos.d/remi.repo to enabled=1 and add includepkgs=php*
yum update
yum install php-mcrypt

Add any extra packages to includepkgs if you get any missing dependency errors.


Top
   
 Post subject:
PostPosted: Thu Jul 21, 2011 8:27 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
Thanks for the reply.

Is there a way to know whick package has been installed from REMI and EPEL?


Top
   
 Post subject:
PostPosted: Fri Jul 22, 2011 3:35 am 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
yum list installed | grep @epel
yum list installed | grep @remi


Top
   
 Post subject:
PostPosted: Fri Jul 22, 2011 5:32 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
really really thanks for the answer, I appreciate it.


Top
   
 Post subject:
PostPosted: Thu Aug 04, 2011 5:01 am 
Offline
Senior Newbie

Joined: Fri Jul 08, 2011 3:16 am
Posts: 7
Hi,
I'm using centos 6.0 x86,
I also have problem with php-mcrpty, any help?

yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.usc.edu
* epel: mirrors.kernel.org
* extras: mirrors.xmission.com
* updates: mirrors.kernel.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.i386 0:5.1.6-5.el5 set to be updated
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt-5.1.6-5.el5.i386
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.1.6-5.el5.i386 (epel)
Requires: php-api = 20041225
Installed: php-common-5.3.2-6.el6_0.1.i686 (@updates)
php-api = 20090626
Available: php-common-5.3.2-6.el6.i686 (base)
php-api = 20090626
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Top
   
 Post subject:
PostPosted: Thu Aug 04, 2011 5:26 am 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
You can't use the centos5 epel repo with centos6.


Top
   
 Post subject:
PostPosted: Thu Aug 04, 2011 5:48 am 
Offline
Senior Newbie

Joined: Fri Jul 08, 2011 3:16 am
Posts: 7
Nibbler wrote:
You can't use the centos5 epel repo with centos6.


Thank you! This is it, I solved this problem


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group