Call to undefined function mcrypt_get_block_size
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 module Module compiled with module API=20100525 PHP compiled with module API=20121212 These options need to match in Unknown on line 0
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum update
yum install php55w-mcrypt
重启php
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
- 上一篇: php运行java(安装php-java-bridge)
- 下一篇:没有了