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.
1 2 3 |
php5enmod module-name # to enable php module php5enmod imap # to enable php5-imap php5enmod mcrypt # to enable php5-mcrypt |
… php5dismod, just like a2dismod works.
- enabled php modules with…
1 2 3 |
php -m # for the entire list php -m | grep imap # to check for a certain module name |
“php -m” list,
1 |
service apache2 reload - restart |