Public bug reported:
I have done the following:
sudo apt-get install mcrypt
sudo apt-get install php5-mcrypt
sudo ln -s /etc/php5/fpm/conf.d/20-mcrypt.ini
/etc/php5/mods-available/mcrypt.ini
sudo php5enmod mcrypt
I then have restarted php-fpm (and actually restarted nginx as well,
just in case)
When i go to the page with the mcrypt functions i get the following in
the log:
2014/11/18 19:16:54 [error] 10779#0: *3 FastCGI sent in stderr: "PHP
message: PHP Fatal error: Call to undefined function
mcrypt_module_open() in /srv/www/dbtest/a.php on line 5" while reading
upstream, client: 127.0.0.1, server: localhost, request: "GET
/dbtest/a.php HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost"
phpinfo shows the authors of mcrypt, but that's the only entry
Also:
$ php5-fpm -m|grep mcrypt
mcrypt
$ sudo apt-cache policy php5-mcrypt
php5-mcrypt:
Installed: 5.4.6-0ubuntu5
Candidate: 5.4.6-0ubuntu5
Version table:
*** 5.4.6-0ubuntu5 0
500 http://ru.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
So it's there, but just doesn't do anything.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: php5-mcrypt 5.4.6-0ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Nov 18 19:19:35 2014
Dependencies:
gcc-4.9-base 4.9.1-0ubuntu1
libc6 2.19-0ubuntu6.3
libgcc1 1:4.9.1-0ubuntu1
libmcrypt4 2.5.8-3.1ubuntu1
multiarch-support 2.19-0ubuntu6.3
InstallationDate: Installed on 2014-10-02 (47 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: php-mcrypt
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: php-mcrypt (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1393851
Title:
mcrypt doesn't work despite being installed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mcrypt/+bug/1393851/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs