Finally i make the yum work in the virtual linux inside the Cisco AXP 1.5. That virtual linux has a Cisco Built Linux Kernel which only has some basic commands and i need to install many software on it in order to make my application works. One of the pre-requisites is PHP 5.2 but unfortunately, the default CentOS repository – http://mirror.centos.org/ only provides PHP5.1.
Luckily, i find another repository which has the PHP5.2. Here shows the steps.
1. Go to /etc/yum.repos.d
2. Create a new file named as utterramblings.repo
- vi /etc/yum.repos.d/utterramblings.repo
3. Paste the following content in utterramblings.repo
[utterramblings] name=Jason’s Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
4. Install/Update PHP
- yum install php
- yum update php
Reference: Centos(linux) 简单方法升级php到php5.2.6(Simplified Chinese)
Done =)

Do we have to using the emulator to run? Thanks
LikeLike
Hi Katie, What do u mean by emulator?
LikeLike
I think she mean what OS version can be done
LikeLike
ic.
that repository supports both 32-bit and 64-bit RHEL & CentOS systems running release 4 or 5.
you can find more details at http://www.jasonlitka.com/yum-repository/.
Thanks for your clarification Nancy =).
LikeLike