THANK YOU! This DO help. ---------------------------------------------------------------------------------------------------------------- cd ~ wget -c http://dl.fedoraproject.org/pub/epel/6/x86_64/php-redis-2.2.2-5.git6f7087f.el6.x86_64.rpm sudo yum -y install ~/php-redis-2.2.2-5.git6f7087f.el6.x86_64.rpm [sunshare at sunshare tmp]$ php -i | grep redis /etc/php.d/redis.ini, redis Registered save handlers => files user redis This program is free software; you can redistribute it and/or modify [sunshare at sunshare tmp]$ cat test.php <?php $redis = new Redis(); $redis->connect('127.0.0.1', 6379); var_dump($redis->ping()); [sunshare at sunshare tmp]$ php test.php string(5) "+PONG" ---------------------------------------------------------------------------------------------------------------- 在2014年04月09 14时04分,"Maxim Shpakov"<maxim at osetia.org>写道: Hi! You can use php-redis from EPEL . It is compiled against stock CentOS php version 5.3.3 http://pkgs.org/search/?query=php-redis&type=smart 2014-04-09 8:58 GMT+03:00 sunshareall0709 <sunshareall0709 at 163.com>: > Hi! > Thanks for your response! > As you said, I've add exclude=php55* to /etc/yum.repos.d/centalt.repo, > and install again: > ---------------------------------------------------------------------------------------------------------------------- > [sunshare at sunshare ~]$ sudo yum install php-redis > Loaded plugins: refresh-packagekit, security > CentALT > | 951 B 00:00 > base > | 3.7 kB 00:00 > epel > | 4.4 kB 00:00 > extras > | 3.4 kB 00:00 > updates > | 3.4 kB 00:00 > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package php-redis.x86_64 77:2.2.1-5.el6 will be installed > --> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: > 77:php-redis-2.2.1-5.el6.x86_64 > --> Finished Dependency Resolution > Error: Package: 77:php-redis-2.2.1-5.el6.x86_64 (CentALT) > Requires: php(zend-abi) = 20090626-x86-64 > Installed: php-common-5.3.28-4.el6.x86_64 (@CentALT) > php(zend-abi) = 20090626 > php(zend-abi) = 20090626-x86-64 > Available: php-common-5.3.3-26.el6.x86_64 (base) > php(zend-abi) = 20090626 > Available: php-common-5.3.3-27.el6_5.x86_64 (updates) > php(zend-abi) = 20090626 > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest > ---------------------------------------------------------------------------------------------------------------------- > > > there are still available in [base] and [updates], so of course, > I add exclude=php-common-5.3.3-* to [base] and [updates]. > > then, try again: > ---------------------------------------------------------------------------------------------------------------------- > [sunshare at sunshare ~]$ sudo yum install php-redis > Loaded plugins: refresh-packagekit, security > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package php-redis.x86_64 77:2.2.1-5.el6 will be installed > --> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: > 77:php-redis-2.2.1-5.el6.x86_64 > --> Finished Dependency Resolution > Error: Package: 77:php-redis-2.2.1-5.el6.x86_64 (CentALT) > Requires: php(zend-abi) = 20090626-x86-64 > Installed: php-common-5.3.28-4.el6.x86_64 (@CentALT) > php(zend-abi) = 20090626 > php(zend-abi) = 20090626-x86-64 > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest > ---------------------------------------------------------------------------------------------------------------------- > > Yeath, this time just one hit the depedency. BUT ....as you can see, problem > as it's :-( > > Any more suggest, PLEASE? > Thank you! > > -- Sunshare > -- 2014-04-09 > > > 在2014年04月08 20时31分,"Maxim Shpakov"<maxim at osetia.org>写道: > > > Hi! > > Add exclude=php55* to /etc/yum.repos.d/centalt.repo > > There are problems regarding php55 dependencies in centalt repo. > > > 2014-04-08 15:26 GMT+03:00 sunshareall0709 <sunshareall0709 at 163.com>: >> Hi, All. >> When I try to install php-redis, there are obvious 4 package hit the >> depedency. >> One have already INSTALLED as follow. >> >> I've GOOGLED, NOTHING help. >> How can I get over this? Please Help, Thank you! >> -- Sunshare >> -- 2014-04-08 >> >> >> >> ------------------------------------------------------------------------------------------------ >> >> [sunshare at sunshare ~]$ sudo yum install php-redis >> [sudo] password for sunshare: >> Loaded plugins: refresh-packagekit, security >> Setting up Install Process >> Resolving Dependencies >> --> Running transaction check >> ---> Package php-redis.x86_64 77:2.2.1-5.el6 will be installed >> --> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: >> 77:php-redis-2.2.1-5.el6.x86_64 >> --> Finished Dependency Resolution >> Error: Package: 77:php-redis-2.2.1-5.el6.x86_64 (CentALT) >> Requires: php(zend-abi) = 20090626-x86-64 >> Installed: php-common-5.3.28-4.el6.x86_64 (@CentALT) >> php(zend-abi) = 20090626 >> php(zend-abi) = 20090626-x86-64 >> Available: php-common-5.3.3-26.el6.x86_64 (base) >> php(zend-abi) = 20090626 >> Available: php-common-5.3.3-27.el6_5.x86_64 (updates) >> php(zend-abi) = 20090626 >> Available: php55-common-5.5.11-1.el6.x86_64 (CentALT) >> php(zend-abi) = 20121212-64 >> You could try using --skip-broken to work around the problem >> You could try running: rpm -Va --nofiles --nodigest >> >> Following is my repo info: >> >> ------------------------------------------------------------------------------------------------ >> [sunshare at sunshare ~]$ sudo yum makecache >> Loaded plugins: refresh-packagekit, security >> CentALT >> | 951 B 00:00 >> CentALT/filelists >> | 136 kB 00:00 >> CentALT/primary >> | 102 kB 00:00 >> CentALT/other >> | 758 kB 00:03 >> CentALT >> 318/318 >> CentALT >> 318/318 >> CentALT >> 318/318 >> base >> | 3.7 kB 00:00 >> base/group_gz >> | 220 kB 00:01 >> base/filelists_db >> | 5.9 MB 00:33 >> base/primary_db >> | 4.4 MB 00:22 >> base/other_db >> | 2.8 MB 00:15 >> epel >> | 4.4 kB 00:00 >> epel/group_gz >> | 237 kB 00:01 >> epel/filelists_db >> | 8.4 MB 00:42 >> epel/primary_db >> | 6.0 MB 00:32 >> epel/other_db >> | 3.6 MB 00:19 >> epel/updateinfo >> | 769 kB 00:03 >> extras >> | 3.4 kB 00:00 >> extras/filelists_db >> | 11 kB 00:00 >> extras/prestodelta >> | 907 B 00:00 >> extras/primary_db >> | 19 kB 00:00 >> extras/other_db >> | 5.8 kB 00:00 >> updates >> | 3.4 kB 00:00 >> updates/filelists_db >> | 1.6 MB 00:07 >> updates/prestodelta >> | 216 kB 00:01 >> updates/primary_db >> | 2.6 MB 00:11 >> updates/other_db >> | 21 MB 01:41 >> epel/pkgtags >> | 1.0 MB 00:05 >> Metadata Cache Created >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >