CentOS 6.0, php-mcrypt

Hi,

where can I found a repo that has a php-mcrypt for CentOS 6 x86-64?

9 Replies

Remi has it.

http://rpms.famillecollet.com/enterpris … crypt.html">http://rpms.famillecollet.com/enterprise/6/remi/i386/repoview/php-mcrypt.html

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!

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.

Thanks for the reply.

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

yum list installed | grep @epel

yum list installed | grep @remi

really really thanks for the answer, I appreciate it.

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

You can't use the centos5 epel repo with centos6.

@Nibbler:

You can't use the centos5 epel repo with centos6.

Thank you! This is it, I solved this problem

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct