Mcrypt extension not recognized by php5-fpm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-mcrypt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I installed php5-fpm, php5-mcrypt and nginx.
phpinfo() tells me that mcrypt in installed, but it is impossible to use it. I get the "Laravel requires the Mcrypt PHP extension. " error message when trying to use an application made with Laravel.
I installed these packages a few times in the past and it happened only in Ubuntu 13.10.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: php5-mcrypt 5.4.6-0ubuntu3
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Thu Oct 17 21:26:53 2013
Dependencies:
gcc-4.8-base 4.8.1-10ubuntu8
libc6 2.17-93ubuntu4
libgcc1 1:4.8.1-10ubuntu8
libmcrypt4 2.5.8-3.1
multiarch-support 2.17-93ubuntu4
InstallationDate: Installed on 2013-10-17 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: php-mcrypt
UpgradeStatus: No upgrade log present (probably fresh install)
This is duplicate of #1240590
You can fix manually using command below
Make symbolic link to ini files in mods-available conf.d/ mcrypt. ini /etc/php5/ mods-available
# ln -s /etc/php5/
Enable mods
# php5enmod mcrypt
Finaly, restart your php related service.