Re: Centos 5.6 Implications of PGP53 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Sep 3, 2011 at 8:15 PM, Always Learning <centos@xxxxxxxxxxx> wrote:
>
> If one stays with Centos 5.x (currently on 5.6) is the
> problem/enhancement/incompatibility involving PHP53 likely to be
> resolved by general updates and/or the introduction of Centos 5.7 ?
>
> Paul.

You can download the source package and compile the module. This
doesn't require as many many devel dependencies on a production system
as it would to rebuild the php rpm. You will need to repeat this for
php upgrades. The only unpackaged files installed on your system
besides the files in /usr/src/redhat, which can be deleted, are
mcrypt.so and mcrypt.ini.

yum install php53-devel libmcrypt-devel
cd
wget http://mirror.centos.org/centos/5.6/updates/SRPMS/php53-5.3.3-1.el5_6.1.src.rpm
mkdir /usr/src/redhat
rpm -i php53-5.3.3-1.el5_6.1.src.rpm
cd /usr/src/redhat
bunzip2 php-5.3.3.tar.bz2
tar xf php-5.3.3.tar
cd php-5.3.3/ext/mcrypt
phpize
aclocal
./configure
make
make install
echo “extension=mcrypt.so” > /etc/php.d/mcrypt.ini
service httpd restart

Ryan
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux