未定义的常量MCRYPT_BLOWFISH使用 [英] Use of undefined constant MCRYPT_BLOWFISH

查看:493
本文介绍了未定义的常量MCRYPT_BLOWFISH使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

重新安装我们的服务器后,mcrypt的不再是工作和PHP给出的通知未定义的常量MCRYPT_BLOWFISH的使用(阿帕奇2.4,PHP 5.5)。

After reinstalling our server, MCRYPT is no longer working and PHP gives the notice "Use of undefined constant MCRYPT_BLOWFISH" (Apache 2.4, PHP 5.5).

PHP -m返回mcrypt的。

php -m returns mcrypt.

ls -al /etc/php5/apache2/conf.d/
20-mcrypt.ini -> ../../mods-available/mcrypt.ini

cat /etc/php5/mods-available/mcrypt.ini
; configuration for php MCrypt module
extension=mcrypt.so

为什么mcrypt的不承认?我怎样才能使这项工作?

Why is mcrypt not recognized? How can I make this work?

推荐答案

刚做我说我做找到一个解决方案,嘿。

No sooner do I speak do I find a solution, heh.

这工作对我来说:
<一href=\"http://stackoverflow.com/questions/19446679/mcrypt-not-$p$psent-after-ubuntu-upgrade-to-13-10\">mCrypt不Ubuntu的后present升级到13.10

需要去:
须藤php5enmod的mcrypt

needed to go: sudo php5enmod mcrypt

尽管它似乎已经启用,即固定它。

even though it appeared to already be enabled, that fixed it.

这篇关于未定义的常量MCRYPT_BLOWFISH使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆