CentOS Latest RPM for PHP MySQL


Hits: 6542  

[root@svnlabs ~]# yum install php php-soap php-xmlrpc php-imap php-mcrypt php-mhash php-mbstring php-mysql php-xml php-gd php-cli php-common php-api
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirrors.tds.net
* extras: mirror.sanctuaryhost.com
* updates: mirror.fdcservers.net
Setting up Install Process
Package matching php-5.1.6-32.el5.i386 already installed. Checking for update.
Package matching php-mcrypt-5.1.6-15.el5.centos.1.i386 already installed. Checking for update.
Package matching php-mysql-5.1.6-32.el5.i386 already installed. Checking for update.
Package matching php-cli-5.1.6-32.el5.i386 already installed. Checking for update.
Package matching php-common-5.1.6-32.el5.i386 already installed. Checking for update.
Resolving Dependencies
–> Running transaction check
—> Package php-gd.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-gd
—> Package php-imap.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-imap
–> Processing Dependency: libc-client.so.1 for package: php-imap
—> Package php-mbstring.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-mbstring
—> Package php-mhash.i386 0:5.1.6-15.el5.centos.1 set to be updated
–> Processing Dependency: php-api = 20041225 for package: php-mhash
—> Package php-soap.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-soap
—> Package php-xml.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-xml
—> Package php-xmlrpc.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-xmlrpc
—> Package php53-common.i386 0:5.3.3-5.el5 set to be updated
–> Running transaction check
—> Package libc-client.i386 0:2004g-2.2.1 set to be updated
—> Package php-gd.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-gd
—> Package php-imap.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-imap
—> Package php-mbstring.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-mbstring
—> Package php-mhash.i386 0:5.1.6-15.el5.centos.1 set to be updated
–> Processing Dependency: php-api = 20041225 for package: php-mhash
—> Package php-soap.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-soap
—> Package php-xml.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-xml
—> Package php-xmlrpc.i386 0:5.1.6-32.el5 set to be updated
–> Processing Dependency: php-common = 5.1.6-32.el5 for package: php-xmlrpc
–> Processing Conflict: php53-common conflicts php-common
–> Finished Dependency Resolution
php53-common-5.3.3-5.el5.i386 from base has depsolving problems
–> php53-common conflicts with php-common
php-soap-5.1.6-32.el5.i386 from base has depsolving problems
–> Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-soap-5.1.6-32.el5.i386 (base)
php-xml-5.1.6-32.el5.i386 from base has depsolving problems
–> Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-xml-5.1.6-32.el5.i386 (base)
php-mbstring-5.1.6-32.el5.i386 from base has depsolving problems
–> Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-mbstring-5.1.6-32.el5.i386 (base)
php-gd-5.1.6-32.el5.i386 from base has depsolving problems
–> Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-gd-5.1.6-32.el5.i386 (base)
php-imap-5.1.6-32.el5.i386 from base has depsolving problems
–> Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-imap-5.1.6-32.el5.i386 (base)
php-mhash-5.1.6-15.el5.centos.1.i386 from extras has depsolving problems
–> Missing Dependency: php-api = 20041225 is needed by package php-mhash-5.1.6-15.el5.centos.1.i386 (extras)
php-xmlrpc-5.1.6-32.el5.i386 from base has depsolving problems
–> Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-xmlrpc-5.1.6-32.el5.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-xml-5.1.6-32.el5.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-gd-5.1.6-32.el5.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-xmlrpc-5.1.6-32.el5.i386 (base)
Error: php53-common conflicts with php-common
Error: Missing Dependency: php-api = 20041225 is needed by package php-mhash-5.1.6-15.el5.centos.1.i386 (extras)
Error: Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-mbstring-5.1.6-32.el5.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-imap-5.1.6-32.el5.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-32.el5 is needed by package php-soap-5.1.6-32.el5.i386 (base)
You could try using –skip-broken to work around the problem
You could try running: package-cleanup –problems
package-cleanup –dupes
rpm -Va –nofiles –nodigest
The program package-cleanup is found in the yum-utils package.

…….

# rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
# yum –enablerepo=webtatic install php php-mysql

OR

# yum –enablerepo=webtatic update php php-mysql
# php -v

PHP 5.3.11 (cli) (built: Apr 27 2012 22:00:56)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

# service httpd restart

Now try with PHP 5.4.1 (Current stable)

Published by

Sandeep Verma

I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. Concentrate > Observe > Imagine > Launch