Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

need mcrypt/php-mcrypt? 
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

Hi,

I’m a little further down the road now but need this:
*
o PHP Extension “mcrypt” must be loaded
o

Please set required permissions before clicking Continue

Can you tell me a reliable place where I can get this rpm?

Also, is it possible to log into svn in a subversion client and download periodic changes?  If so, I would need the path and if there is a username and password.

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Burak
Jr. Member
 
Total Posts:  13
Joined:  2007-08-31
 

Uncomment extension=php_mcrypt.dll in php.ini file…

 
Magento Community Magento Community
Magento Community
Magento Community
 
_
Sr. Member
 
Total Posts:  152
Joined:  2007-08-31
 

Yes, SVN access is from this page : http://www.magentocommerce.com/svn

mcrypt you can get from this page : http://www.ottolander.nl/opensource/mcrypt/mcrypt.html

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

Hi,

I don’t have this listing extension=php_mcrypt.dll in my php.ini file so I will have to install first.

Do you know if installing this will affect any of my other ecommerce stores on my server?

 
Magento Community Magento Community
Magento Community
Magento Community
 
_
Sr. Member
 
Total Posts:  152
Joined:  2007-08-31
 

This shouldn’t damage other scripts so you can try smile If damage occurs comment simply this line in php.ini and restart the server.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

I just tried it and get this:
[root@godslove ~]# rpm -Uvh mcrypt-2.6.4-2.i386.rpm
warning: mcrypt-2.6.4-2.i386.rpm: V3 DSA signature: NOKEY, key ID 0bf3040b
error: Failed dependencies:
libmcrypt is needed by mcrypt-2.6.4-2.i386
libmcrypt.so.4 is needed by mcrypt-2.6.4-2.i386
libmhash.so.2 is needed by mcrypt-2.6.4-2.i386

I should install these dependencies first right?

I just updated my server to php 5 using the only one I could find at http://www.atomicrocketturtle.com for CentOS 4 since this is what I have now and mysql 4.1.

I just saw it on the same page as the link you gave me ... sorry about that!

 
Magento Community Magento Community
Magento Community
Magento Community
 
_
Sr. Member
 
Total Posts:  152
Joined:  2007-08-31
 

Yes, dependent libs must be also installed .

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

I installed in this order from ottolander:

rpm -Uvh libmcrypt-2.5.7-1a.i386.rpm
rpm -Uvh libmcrypt-devel-2.5.7-1a.i386.rpm

When I install this one I still get that it needs libmhash.so.2 is needed by mcrypt-2.6.4-2.i386
rpm -Uvh mcrypt-2.6.4-2.i386.rpm

Where is the missing library to get?

 
Magento Community Magento Community
Magento Community
Magento Community
 
_
Sr. Member
 
Total Posts:  152
Joined:  2007-08-31
 

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libmhash.so.2

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

I am very confused over which version to get for these files so I can install your store:

mcrypt-2.6.4-2.i386
libmcrypt
libmcrypt.so.4
libmhash.so.2

My server is running:
CentOS 4.4.3
php-5.2.3-4.el4.art
mysql-4.1.20-2.RHEL4.1.0.1

At the centos repository at this url:
http://mirror.centos.org/centos/5/extras/i386/RPMS/ there are these:

libmcrypt-2.5.7-5.el5.centos.i386.rpm

php-mcrypt-5.1.6-12.el5.centos.i386.rpm

php-mhash-5.1.6-12.el5.centos.i386.rpm and mhash-0.9.9-1.el5.centos.i386.rpm

Since I am now on PHP 5 should I get these from the Centos 5 “extras” folder here?
http://mirror.centos.org/centos/5/extras/i386/RPMS/

Or should I get these from the Centos4 repository since I am running Centos 4?

I would really appreciate it if someone could advise me on this.

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Scott
Guru
 
Avatar
Total Posts:  333
Joined:  2007-08-31
Northwest Ohio
 

I’m in the same boat. I installed mcrypt and uncommented that line, but there’s still something on my server that’s holding mcrypt back and I cannot figure it out! heh…

Do you see anything in phpinfo()’s output regarding mcrypt?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

Hi,

There’s nothing in php_info because mine is not installed at all.  I’m getting closer and need to know this if you can help me with it.

Hi,

Am trying to install these packages and get this key error:

Downloading Packages:
(1/5): glibc-common-2.5-1 100% |=========================| 16 MB 00:05
(2/5): php-mcrypt-5.1.6-1 100% |=========================| 16 kB 00:00
(3/5): glibc-2.5-12.i686. 100% |=========================| 5.1 MB 00:01
(4/5): libmcrypt-2.5.7-5. 100% |=========================| 123 kB 00:00
(5/5): mhash-0.9.9-1.el5. 100% |=========================| 147 kB 00:00
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID e8562897
Public key for glibc-common-2.5-12.i386.rpm is not installed
Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

GPG key retrieval failed: [Errno 14] HTTP Error 404: Not Found

========================================

I downloaded the centos5 key to root so how would I run it and more importantly can I have the centos4 and centos5 gpg keys installed and both base listings in my yum.conf file?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

Hi,

I am trying to install these packages so I can test the new ecommerce store that has just came out yesterday.  I keep getting this error:

[root@godslove ~]# yum install php-mcrypt libmcrypt mhash glibc
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from Atomic Rocket Turtle - 4ES - Atomic PSA-Compatible RPMS
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-mcrypt.i386 0:5.1.6-12.el5.centos set to be updated
---> Package libmcrypt.i386 0:2.5.7-5.el5.centos set to be updated
---> Package mhash.i386 0:0.9.9-1.el5.centos set to be updated
--> Running transaction check
--> Processing Dependency: rtld(GNU_HASH) for package: php-mcrypt
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libmcrypt
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: php-mcrypt
--> Processing Dependency: rtld(GNU_HASH) for package: mhash
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: mhash
--> Processing Dependency: rtld(GNU_HASH) for package: libmcrypt
--> Finished Dependency Resolution
Error: Missing Dependency: rtld(GNU_HASH) is needed by package php-mcrypt
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package libmcrypt
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package php-mcrypt
Error: Missing Dependency: rtld(GNU_HASH) is needed by package mhash
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package mhash
Error: Missing Dependency: rtld(GNU_HASH) is needed by package libmcrypt

I found out that rtld and libc.so.6 come in a package called glibc-2.5-12.i386.rpm but each time I just run that one I get another error about the glibc-common-2.5-12 had some kind of gpg signing error.  Since I have download both of these from the centos5 repository to my server #.

When I tried to run:
[root@godslove ~]# rpm -Uvh glibc-2.5-12.i386.rpm glibc-common-2.5-12.i386.rpm
Preparing… ########################################### [100%]
1:glibc-common ########################################### [ 50%]
2:glibc ########################################### [100%]
[root@godslove ~]#

After that I was able to install the other programs:
Installed: libmcrypt.i386 0:2.5.7-5.el5.centos mhash.i386 0:0.9.9-1.el5.centos php-mcrypt.i386 0:5.1.6-12.el5.centos
Complete!

I have [root@godslove ~]# rpm -q mcrypt
mcrypt-2.6.4-2

I restarted apache:
service httpd restart

I don’t know about that 50% listing on the glibc-common.

When I went to try to install this new ecommerce store again I get the same message at the top of the page:
*
o PHP Extension “mcrypt” must be loaded
o

Please set required permissions before clicking Continue

What does it mean “mcrypt” must be loaded?

I clicked continue to see what would happen and I get this:
*
o PHP Extension “mcrypt” must be loaded
o

Please set required permissions before clicking Continue
o Access denied for user ‘root’@’localhost’ (using password: YES)

What exactly is the problem?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

forgot this ...

The library is here:

[root@godslove etc]# locate mcrypt
/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/mcrypt.lib.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
Topher
Jr. Member
 
Total Posts:  3
Joined:  2008-10-13
 

Hi Melinda,

Did you get this working using the library located there?

What were the steps to fix it?

Thanks,

Chris.

 
Magento Community Magento Community
Magento Community
Magento Community
 
seangelica
Jr. Member
 
Total Posts:  2
Joined:  2009-11-06
 

Hi all,

I was having trouble installing due to not having mcrypt compiled with my PHP installation....

I have a centos 5 vps with 1and1.... after a few minutes on google i found i needed to be more specific asmy server is 64bit!

I logged in SSH as root to my VPS, typed this line:

yum install php-mcrypt.x86_64

and the rest was history! Magento installed! WHAAAHOOO!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top