Call to undefined function mcrypt_get_block_size
来源:互联网 发布:虹烨网络有限责任公司 编辑:程序博客网 时间:2024/05/20 10:54
http://stackoverflow.com/questions/17109818/install-php-mcrypt-on-centos-6
问题:Call to undefined function mcrypt_get_block_size()
需要安装php的 myrypt扩展
解决方案:
1.
yum update
yum install php-mcrypt*
添加 extension=/usr/lib64/php/modules/mcrypt.so到php.ini
2.
PHP Warning: PHP Startup: mcrypt: Unable to initialize moduleModule compiled with module API=20100525PHP compiled with module API=20121212These options need to match in Unknown on line 0
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpmyum updateyum install php55w-mcrypt
重启php
0 0
- Call to undefined function mcrypt_get_block_size
- Fatal error: Call to undefined function mcrypt_get_block_size()
- Call to undefined function mysql_create_db()
- Call to undefined function: mcrypt_module_open()
- Call to undefined function: mcrypt_module_open()
- Call to undefined function: mysql_connect()
- Call to undefined function mysql_connect()
- 解决Call to undefined function
- Call to undefined function mysql_connect()
- Call to undefined function curl_init()
- Call to undefined function imagettftext()
- Call to undefined function imagecreate()
- Call to undefined function mssql_connect()
- Call to undefined function ssh2_connect()
- Call to undefined function curl_init
- Call to undefined function curl_init()
- Call to undefined function curl_init()
- Call to undefined function openssl_get_privatekey()
- 个人对23种设计模式总结 优缺点分析
- 第7章 上机2
- 加密数字货币的开发技术介绍
- CCoolBar测试
- Cornerstone忽略不必要的文件
- Call to undefined function mcrypt_get_block_size
- web页面登录+参数化+多线程自动化脚本
- CI框架源码解析六之配置类文件Config.php
- web前端-JavaScript typeof -017
- LeetCode 406. Queue Reconstruction by Height
- 根据列名查询表名的sql语句
- 四大组件の属性 android:exported
- 菜鸟互助会活动记录第一期
- 让人不堪重负的零售品牌电子邮件?!