upgrade PHP 5.1.6 to 5.2.x on CentOS 5

I’ve done this many times using the atomic repos. In very simple terms, three steps are all that’s needed in most situations:

wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
yum update php
service httpd restart

I obviously can’t guarrente it will work for you, but for myself this has become the standard method.

mirror :

ftp://ftp.pbone.net/mirror/www.sourcemirrors.org/scotth/centos/5/php/php-mcrypt-5.2.6-2.i386.rpm

chek

rpm -qa |grep php

If you have php-mcrypt for PHP 5.1.x installed you’ll want to remove it:

rpm -e php-mcrypt-5.1.6-15.el5.centos.1

Explore posts in the same categories: centos

One Comment pada “upgrade PHP 5.1.6 to 5.2.x on CentOS 5”


  1. […] upgrade-php-5-1-6-to-5-2-x-on-centos-5 […]


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s


%d blogger menyukai ini: