How to upgrade to php 5.1.4 & APC 3.0.12 See also Upgrading to PHP 5.2.1 1. EDIT: /etc/yum.repos.d/CentOS-Base.repo Add: [c4-testing] name=CentOS-4 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing Exclude mysql from centos-plus: #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 exclude=kernel*,xfsprogs*,mysql* 2. UPGRADE/INSTALL: $ yum remove php $ yum install php php-devel php-gd php-mysql php-pear php-pgsql php-soap php-xml httpd-devel $ sudo pear install DB 3. TEST: make sure phpInfo shows php 5.1.4 and that the mysql works 5. INSTALL: wget http://pecl.php.net/get/APC-3.0.12.tgz tar xvzf APC-3.0.12.tgz cd APC-3.0.12 phpize ./configure --enable-apc-mmap --with-apxs --with-php-config=/usr/bin/php-config make make install 6. EDIT: /etc/php.ini extension=apc.so apc.enabled=1 apc.shm_segments=1 apc.optimization=0 apc.shm_size=128 apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.enable_cli=1 7. RESTART: apachectl configtest apachectl restart 8. TEST: make sure phpInfo shows php 5.1.4 apc is listed 9. INSTALL: new cybersource library wget http://apps.cybersource.com/library/downloads/ cybersource_developer_kits/PHP/Linux/simapi-php-linux-5.0.1.tar.gz cp php512_cybersource.so /usr/lib/php/modules/php512_cybersource.so 10. EDIT: /etc/php.ini change this line: extension=php512_cybersource.so to: extension=php503_cybersource.so 11. RESTART: apachectl configtest apachectl restart 12. TEST: make sure there's no errors in the /var/log/httpd/error_log and test the store