#1  
Old 14th May 2008, 13:30
sojic sojic is offline
Member
 
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
Default mcrypt

I'm trying to install Magneto E-Commerce, but it require mcrypt. It say:

Quote:
PHP Extension "mcrypt" must be loaded
I install mcrypt, try to enable it

/etc/php.ini
Code:
extension=mcrypt.so
or create in /etc/php.d/mcrypt.ini
extension=mcrypt.so

Restart apache, but still Magneto instalation say "PHP Extension "mcrypt" must be loaded"
Reply With Quote
Sponsored Links
  #2  
Old 15th May 2008, 19:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Which distribution are you using?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th May 2008, 12:37
sojic sojic is offline
Member
 
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Centos 5.0
Reply With Quote
  #4  
Old 16th May 2008, 22:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
yum search mcrypt
? Is there a php-mcrypt package?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 22nd May 2008, 20:43
sojic sojic is offline
Member
 
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
Default

[root@web1 ~]# yum search mcrypt
Loading "installonlyn" plugin
Setting up repositories
epel 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files



libmcrypt.x86_64 2.5.7-5.el5 epel
Matched from:
libmcrypt
Libmcrypt is a thread-safe library providing a uniform interface
to access several block and stream encryption algorithms.
http://mcrypt.sourceforge.net/



libmcrypt-devel.x86_64 2.5.7-5.el5 epel
Matched from:
libmcrypt-devel
Development libraries and headers for libmcrypt
Development libraries and headers for use in building applications that
use libmcrypt.
http://mcrypt.sourceforge.net/



libmcrypt.i386 2.5.7-5.el5 epel
Matched from:
libmcrypt
Libmcrypt is a thread-safe library providing a uniform interface
to access several block and stream encryption algorithms.
http://mcrypt.sourceforge.net/



libmcrypt-devel.i386 2.5.7-5.el5 epel
Matched from:
libmcrypt-devel
Development libraries and headers for libmcrypt
Development libraries and headers for use in building applications that
use libmcrypt.
http://mcrypt.sourceforge.net/



mcrypt.x86_64 2.6.4-3.el5 epel
Matched from:
mcrypt
MCrypt is a replacement for the old crypt() package and crypt(1) command,
with extensions. It allows developers to use a wide range of encryption
functions, without making drastic changes to their code. It allows users
to encrypt files or data streams without having to be cryptographers.
http://mcrypt.sourceforge.net/



php-mcrypt.x86_64 5.1.6-4.el5 epel
Matched from:
php-mcrypt
Standard PHP module provides mcrypt library support
Standard PHP module provides mcrypt library support



php-pear-Crypt-CHAP.noarch 1.0.1-1.el5.1 epel
Matched from:
This package provides Classes for generating CHAP packets. Currently these
types of CHAP are supported: CHAP-MD5, MS-CHAPv1, MS-CHAPv2. For MS-CHAP the
mhash and mcrypt extensions must be loaded.
Reply With Quote
  #6  
Old 22nd May 2008, 21:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Pleasse run:

yum install php-mcrypt

to make sure that the php module is installed.

Then create a info.php file with the following content:

<?php
phpinfo();
?>

in the website and call it in the browser. Is mcrypt listed in the output as loaded extension?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 24th May 2008, 00:05
sojic sojic is offline
Member
 
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Here is phpinfo http://www.gobleni.org/php.php
Reply With Quote
  #8  
Old 24th May 2008, 12:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in /etc/php.d/mcrypt.ini?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 24th May 2008, 16:16
sojic sojic is offline
Member
 
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
Default

[root@web1 ~]# cat /etc/php.d/mcrypt.ini
; Enable mcrypt extension module
extension=mcrypt.so
[root@web1 ~]#
Reply With Quote
  #10  
Old 25th May 2008, 13:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Looks ok. Did you restart Apache?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to allow mcrypt in php instance of ispconfig TomTom80 Installation/Configuration 3 9th October 2008 18:38
mbstring PHP extension and mcrypt extension error mnzava Server Operation 3 28th December 2007 21:41
CRELoaded mcrypt debian 3.1 Smitty Installation/Configuration 1 19th November 2007 19:01


All times are GMT +2. The time now is 14:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.