Dear All, I tried to upgrade my php5.1 to php 5.3 on my centos 5.3. I am using this site http://blog.bollysite.com/2010/08/04/upgreading-php-5-3-on-centos-5/. All works fine so when I want to install the php-mysql library using this yum --enablerepo=webtatic install php5-mysql it tell me No package php5-mysql available. So I am stuck now what shall I do ? Can I remove the entire php5.3 ? What is the work around any help?
Take a look at comment #2: http://blog.bollysite.com/2010/08/04/upgreading-php-5-3-on-centos-5/#comment-223
Dear Falko, Actually I am very new to centos and confuse with the repo stuff.Correct me here actually there is on standard repo for centos then the rest is by non centos people rite. So what is different between yum and rpm method.
That's right. These are just two different ways of installing rpm packages. yum takes care of all dependencies automatically while rpm does not.
Dear Falko, Thank you for the confirmation.So if I want to use non centos repo is there a standard command for it or must I base case to case.
For CentOS 5.x, you must install this rpm: http://rpms.famillecollet.com/enterprise/remi-release-5.rpm Afterwards, the repository should be enabled on your system, and you can install packages from that repo using yum.
Dear Falko, Which folder must I keep the file? The what is the command to install this rpm? How to enable the repo and install it? Thank you.
Dear Falko, I am sure got other command after this or nothing else? This will install the php and also php mysql client is it? Thank you.
This will just enable the remi repo. Afterwards you can search for PHP packages like this: Code: yum search php Pick the ones you need and install them with Code: yum install package1 package2 ...