SZ1
21.12.2011, 08.20
grazie EvolutionCrazy, con questa repo ho installato tutto correttamente.
root@server [~]# yum install php53-devel libmcrypt-devel gcc root@server [~]# cd root@server [~]# wget http://vault.centos.org/5.6/updates/SRPMS/php53-5.3.3-1.el5_6.1.src.rpm root@server [~]# mkdir /usr/src/redhat root@server [~]# rpm -i php53-5.3.3-1.el5_6.1.src.rpm root@server [~]# cd /usr/src/redhat/SOURCES root@server [/usr/src/redhat/SOURCES]# bunzip2 php-5.3.3.tar.bz2 root@server [/usr/src/redhat/SOURCES]# tar xf php-5.3.3.tar root@server [/usr/src/redhat/SOURCES]# cd php-5.3.3/ext/mcrypt root@server [/php-5.3.3/ext/mcrypt]# phpize root@server [/php-5.3.3/ext/mcrypt]# aclocal root@server [/php-5.3.3/ext/mcrypt]# ./configure root@server [/php-5.3.3/ext/mcrypt]# make root@server [/php-5.3.3/ext/mcrypt]# make install root@server [/php-5.3.3/ext/mcrypt]# echo "extension=mcrypt.so" > /etc/php.d/mcrypt.ini root@server [/php-5.3.3/ext/mcrypt]# service httpd restart
mcrypt support enabled Version 2.5.7 Api No 20021217 Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
'extension=mcrypt.so'
/etc/init.d/apache2 restart
PHP extension "mcrypt" must be loaded