Installed php5-mcrypt with apt-get but it’s not enabled

2.25K views
0

I installed php5-mcrypt with apt-get but it’s not enabled for php5-fpm on Nginx. Other modules were enabled automatically, how do I fix this one?

0

If you need to enable a module that’s already installed, you can use php5enmod:
php5enmod mcrypt

This will take care of activating the module without the need on your part to manually create symlinks. Then just restart PHP-FPM to apply the change:
service php5-fpm restart