PHP extension mcrypt is not enabled on server

admin

Administrator
Staff member
I'm modifying a plugin in wordpress. The plugin is "RegistrationMagic", when I inhaled it and went to the screen it appeared the following message "PHP extension mcrypt is not enabled on server".

I tried to follow the hint of that question "<a href="https://askubuntu.com/questions/460837/mcrypt-extension-is-missing-in-14-04-server-for-mysql">https://askubuntu.com/questions/460837/mcrypt-extension-is-missing-in-14-04-server-for-mysql</a>"

But when I get to that part:

Code:
Sudo ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini
Sudo ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini

Can not find conf.d file

Someone can help me: I already tried to reinstall php5 but it did not work either.

<strong>EDIT</strong>

When I do a locate in myscript.so it returns this below:

Code:
$locate mcrypt.so

/usr/lib/libmcrypt.so.4
/usr/lib/libmcrypt.so.4.4.8
/usr/lib/php5/20121212/mcrypt.so