How can I enable mycrypt PHP library for wordpress?

April 13, 2018 230 views

So, I am switching to Digital Ocean today from Hostgator(please don't hurt me for using Hostgator in 2018) I am setting up a (relatively) short term site while I test Digital Ocean, and learn to work without cpanel. I did a oneclick install for wordpress on my droplet, and began getting settled in to rebuild my old wordpress site page by page. (I am doing it this way because the old site has lots of flaws to doing a migration is not in my best interest longterm)

First plugin I try to install says it cannot be activated on the grounds that mycrypt PHP library must be enabled first. Can I do this with the oneclick install for wordpress? Or do I have to scrap my droplet and do a new one with ubuntu? I would much rather stick with the oneclick install if the choice is mine to make. But I can't really progress without some of these plugins.

1 Answer

You can install the php-mcrypt library with:

sudo apt-get update;
sudo apt-get install php-mcrypt;
Have another answer? Share your knowledge.