无法载入 mcrypt 扩展,<br />请检查 PHP 配置
用phpmyadmin 的时候出现“无法载入 mcrypt 扩展,<br />请检查 PHP 配置”
系统是linux as4 怎么解决。这个是干什么用的?
[ 本帖最后由 gkimcc 于 2007-10-19 12:40 编辑 ]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
yum -y install php-mcrypt
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mcrypt to pack into transaction set.
php-mcrypt-5.1.6-4.fc6.i3 100% |=========================| 4.1 kB 00:00
---> Package php-mcrypt.i386 0:5.1.6-4.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libmcrypt to pack into transaction set.
libmcrypt-2.5.7-5.fc6.i38 100% |=========================| 3.8 kB 00:00
---> Package libmcrypt.i386 0:2.5.7-5.fc6 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-mcrypt i386 5.1.6-4.fc6 extras 16 k
Installing for dependencies:
libmcrypt i386 2.5.7-5.fc6 extras 123 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 140 k
这样处理后重启了服务器都没搞定
还有其他解决法没?
可能包名不是php-mcrypt,在debian linux中,与php5相匹配的是php5-mcrypt。
在Debian中使用synaptic包管理器,添加该模块即可。
当然使用apt-get安装应该也可以。
没有加入这个模块吧