Call to undefined function mcrypt_ゲットするblocksize

1221 ワード

http://stackoverflow.com/questions/17109818/install-php-mcrypt-on-centos-6
問題:Call to undefined function mcrypt_ゲットするblocksize()
phpをインストールするmyrypt拡張が必要です。
ソリューション:
1.yum udate yum install php-mcrypt*
追加 extension=/usr/lib 64/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