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

PHP extension “mcrypt” must be loaded. 
 
jpduda
Jr. Member
 
Total Posts:  1
Joined:  2013-02-10
 

Estou tentando instalar o magento versao 1.7 em minha hospedagem linux

FIZ TODA INSTALAÇÃO, FIZ TODAS AS AUTORIZAÇÕES ETC.

porem ocorre o seguinte erro na instalação

PHP extension “mcrypt” must be loaded.

ALGUEM PODE ME AJUDAR?

Image Attachments
MAGENTO.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
Siggi_Schmitz
Enthusiast
 
Avatar
Total Posts:  811
Joined:  2011-07-03
 

Yes, you have to install mcrypt (what a surprise^^).

Just google how to install mcrypt for your operating system.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Magestore
Mentor
 
Avatar
Total Posts:  1015
Joined:  2009-08-07
Viet Nam
 

Hi,

To enable it, please go to php.ini file, search for ”extension=php_mcrypt.dll” and remove comment of this code, after that reload your server.
Hope this helps.

Warm Regards,
Magestore

 
Magento Community Magento Community
Magento Community
Magento Community
 
GoMageTeam
Guru
 
Avatar
Total Posts:  356
Joined:  2013-01-13
Warsaw, Poland
 

These commands will help you to install Mcrypt:

sudo apt-get install php5-mcrypt
sudo 
/etc/init.d/apache2 restart

Also you can install Mcrypt from the PHP Source Tree as the extension.
But you should be absolutely sure that you have libmcrypt, libmcrypt-devel, and mcrypt installed and do the next:

# cd php-5.x.x/ext/mcrypt
# phpize
# aclocal
# ./configure
# make && make install

Then, please, enable the extension:
You should add

'extension=mcrypt.so' to PHP.ini
in order to do it.
And you will see Mcrypt working when you restart Apache.
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top