Fix Mcrypt WARNING Ubuntu Server

today i faced problem in setup a mcrypt module

i did install it via

when i did try to enable it via

i got this error

root@ubuntu:/etc/php5/apache2/conf.d# php5enmod mcrypt
WARNING: Not enabling the mcrypt module for apache2 SAPI since module symlink
WARNING: already exists in /etc/php5/apache2/conf.d with different content.
WARNING: Not enabling the mcrypt module for cli SAPI since module symlink
WARNING: already exists in /etc/php5/cli/conf.d with different content.

to solve this unlink the 20-mcrypt.ini inside this folders

 

One thought on “Fix Mcrypt WARNING Ubuntu Server”

Leave a Reply

Your email address will not be published. Required fields are marked *

*