I ran through a tutorial for updating to PHP 5.2 via RPMs';
http://wiki.centos.org/HowTos/PHP_5.1_To_5.2
In the tutorial I did;
Code:
wget http://yum.cocoiti.com/CentOS/5/RPMS/i686/php-mcrypt-5.2.10-1.i686.rpm
rpm -i --nodeps php-mcrypt-5.2.10-1.i686.rpm
warning: php-mcrypt-5.2.10-1.i686.rpm: Header V3 DSA signature: NOKEY, key ID 9f63b763
Restarted apache, mcrypt wasn't installed. (I used a phpinfo() page.)
However.. it installed mcrypt.so to;
/usr/lib/php/modules/
But all the other .so files are stored in;
/usr/lib64/php/modules/
I copied the file to the lib64 directory, and restarted apache. Still didn't work.
So.. then.. I tried to unstall, by doing this;
Code:
rpm -qa |grep php-m
Returned;
Code:
php-mysql-5.2.10-1.el5.centos
php-mcrypt-5.2.10-1
php-mbstring-5.2.10-1.el5.centos
Then I typed in;
Code:
rpm -e php-mycrypt-5.2.10-1
error: package php-mycrypt-5.2.10-1 is not installed
Yeah.. so now I'm stuck, don't know how to make php use it.. I also found a file;
/etc/php.d/mcrypt.ini
Contents:
; Enable mcrypt extension module
extension=mcrypt.so
Am I totally screwed or what?
