Using yum in centos 5.x to Upgrade PHP to 5.2.x is the most convenient method.
Recently, testlink 1.82 was used. It is mentioned that PHP needs to be upgraded to 5.2 or above, while centos 5. x currently provides PHP version 5.1.6,
It is convenient to Upgrade PHP to 5.2 using the following methods. We recommend this method to you.Import the following addresses first.
# Rpm -- import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
# Vi/etc/yum. Repos. d/CentOS-Base.repo Add the following information
[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
Run the command to automatically upgrade the instance.
Yum update PHP-y
Yum install libmcrypt-y
Solution to centos g ++ Error
Centos 5.4 is reported:
G ++: If the command is not found, run the following command to install g ++:
Yum install gcc-C ++ compat-gcc-32 compat-gcc-32-c ++