Can't use PHP extension Mcrypt in Ubuntu 13.10 (Nginx, PHP-FPM)
- by Marc-François
I installed a fresh Ubuntu 13.10 on my laptop. Like I usually do, I install the packages I need for Web development, which are nginx, php5-fpm, mysql, php5-mysql, php5-mcrypt and a few others.
After editing some configuration files, this usually works.
But today, since 13.10, an error appears instead of the Web page I expected.
Laravel requires the Mcrypt PHP extension.
The package php5-mcrypt has been installed and reinstalled.
The command php -m doesn't seem to show mcrypt.
Any idea where the problem could come from? I've done this setup many times and it always worked.