I’ve just installed PrestaShop on my VPS (Virtual private server) which is running Virtualmin (an open source web server control panel) and it said that PHP Mcrypt Extension need to be enabled. In order to install PHP Mcrypt Extension on Virtualmin, follow steps below:
1. Login to Virtualmin with root account
2. Switch Webmin control panel
3. Go to System/Softwares Packages on the left panel
4. Click Browse YUM
5. Type mcrypt and click Find packages matching
6. Click install to enable the PHP Mcrypt Extension
7. Restart Apache server, go to System Information on the left then click Restart Apache on the right under Status panel