Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 15291  / 1 Year ago, wed, december 28, 2022, 6:21:51

I am running Ubuntu 13.10 desktop and installed a lamp stack (Apache 2.4.6, and PHP Version 5.5.3-1ubuntu2), and I set up virtual hosts. I also apt-get'ed php5-curl, and php5-mcrypt (no errors when installing)



I am trying to set up a Magento (1.8.0.0) development environment and the error I am getting is:



PHP extension "mcrypt" must be loaded.


How do I "load" mcrypt?


More From » 14.04

 Answers
3

There seems to be an issue with the mcrypt package in that it isn't included in the available mods after being installed.





To fix, simply:



sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini
sudo php5enmod mcrypt
sudo restart apache2


If the last command doesn't work, do sudo service apache2 restart instead.


[#28303] Wednesday, December 28, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ardingiba

Total Points: 497
Total Questions: 95
Total Answers: 109

Location: Gabon
Member since Sat, Jan 15, 2022
2 Years ago
;