I updated my PHP from 5.1 to 5.2 a few months ago. Since then I noticed I don't have mcrypt. I tried everything I could too install it. Yum install...added to /etc/php.d/mcrypt.so etc. but nothing worked.
Someone suggeste I do yum update. Doing this has now got rid of json. phpinfo now says --disable-json.
This is what I currently have loaded:
Installed Packages php.x86_64 5.2.10-1.el5.centos installed php-cli.x86_64 5.2.10-1.el5.centos installed php-common.x86_64 5.1.6-39.el5_8 installed php-gd.x86_64 5.2.10-1.el5.centos installed php-imap.x86_64 5.2.10-1.el5.centos installed php-mbstring.x86_64 5.2.10-1.el5.centos installed php-mysql.x86_64 5.2.10-1.el5.centos installed php-pdo.x86_64 5.2.10-1.el5.centos installed php-xml.x86_64 5.2.10-1.el5.centos installed php5-ioncube-loader.x86_64 3.1-07051711 installed
I tried to use pecl to install json but had to install pecl first and using pecl now says phpize does not exist.
I am a little apprehensive about trying to rebuild PHP as I am actually only a programmer and know nothing about servers.
The server company said I should upgrade plesk and then upgrade to PHP 5.3 which should fix it. I am also not sure how to do this and am worried that I will lose my databases/ websites, one of which is used every day by british athletes so down time must be minimal.
Your help would be much appreciated. If this needs an engineer then if you could point me in the right direction to hire one that would be great.