today I faced problem in setup a mcrypt module
I did install it via
1 |
apt-get install mcrypt php5-mcrypt |
when i did try to enable it via
1 |
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
1 2 3 4 |
unlink /etc/php5/apache2/conf.d/20-mcrypt.ini unlink /etc/php5/cli/conf.d/20-mcrypt.ini service apache2 restart |
joe
thank for your info..it solve my problem today.