PHP 5.3 ,MySql 5.1 on RHEL 4

For those who are still using RHEL 4.x and in need of deploying PHP 5.3 & MySQL 5.1 , you can get the required rpm packages from

http://rpms.famillecollet.com/enterprise/4/

You can add the repo and update php and MySQL packages via yum, or download and install manually. I think the bare minimum will require these packages :

PHP

* php-cli-5.3.1-1.el4.remi
* php-5.3.1-1.el4.remi
* php-common-5.3.1-1.el4.remi
* php-mysql-5.3.1-1.el4.remi
* php-pdo-5.3.1-1.el4.remi

MySQL

* mysqlclient15-5.0.67-1.el4.remi
* mysql-server-5.1.42-1.el4.remi
* mysqlclient14-4.1.22-1.el4.remi
* mysql-libs-5.1.42-1.el4.remi
* mysql-5.1.42-1.el4.remi

Also you might need the packages that I listed below for php 5.3 & MySQL 5.1 to install correctly. Some of them are not available at Remi’s repo, so I upload them to my dropbox account in case somebody need them :

* perl-DBD-MySQL-4.006-1.el4.centos

http://go2.wordpress.com/?id=725X1342&site=outhereinthefield.wordpress.com&url=http%3A%2F%2Fdl.dropbox.com%2Fu%2F362618%2Fperl-DBD-MySQL-4.006-1.el4.centos.i386.rpm&sref=http%3A%2F%2Fouthereinthefield.wordpress.com%2Fcategory%2Fred-hat%2F

* libedit-2.11-1.20080712cvs.el4.remi
* sqlite2-2.8.17-2.el4.remi
* sqlite-3.3.6-2

http://go2.wordpress.com/?id=725X1342&site=outhereinthefield.wordpress.com&url=http%3A%2F%2Fdl.dropbox.com%2Fu%2F362618%2Fsqlite-3.3.6-2.i386.rpm&sref=http%3A%2F%2Fouthereinthefield.wordpress.com%2Fcategory%2Fred-hat%2F

Of course I think this will void your service warranty with Redhat. This is tested on RHEL 4.7

This entry was posted on Tuesday, July 6th, 2010 at 8:07 pm and is filed under CentOS, Linux, Mysql, PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “PHP 5.3 ,MySql 5.1 on RHEL 4”

  1. Avcılar Linux Says:

    Thank you for all of the designs you provide to us! Your blog is one of the first I read each day

Leave a Reply