Php5 en mod (php7-also)
After installing php modules, some are not enabled by default upon installation.
One of those modules is php5-imap and php5-mcrypt is another one.
You have to enable them with php5enmod command.
php5enmod works just like the way a2enmod works for Apache.
[crayon-662f2c3e668de800650992/]
… php5dismod, just like a2dismod works.
- enabled php modules with…
[crayon-662f2c3e668e9946566724/]
“php -m” list,
[crayon-662f2c3e668ec093098000/]