,

Fix Mcrypt WARNING Ubuntu Server

Ahmad Avatar

today I faced problem in setup a mcrypt module

I did install it via

apt-get install mcrypt php5-mcrypt

when i did try to enable it via

php5enmod mcrypt

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

unlink /etc/php5/apache2/conf.d/20-mcrypt.ini
unlink /etc/php5/cli/conf.d/20-mcrypt.ini

service apache2 restart

 

Enjoying this article?

Subscribe to get new posts delivered straight to your inbox. No spam, unsubscribe anytime.

No spam. Unsubscribe anytime.

You may also like

See All blog →

One response to “Fix Mcrypt WARNING Ubuntu Server”

  1. joe Avatar

    thank for your info..it solve my problem today.

Leave a Comment

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

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.