php55w mysql未在WebStatic repo中列出

php55w mysql未在WebStatic repo中列出,php,mysql,linux,centos5,Php,Mysql,Linux,Centos5,我的服务器是Centos 5 我从WebStatic执行以下指示: CentOS/RHEL 5.x: rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm 但当运行此命令为我当前的php55w安装php55w mysql ext时,它会显示以下日志: [root@centos ~]# yum install php55w-mysql --enablerepo=webtatic Loaded plugins: fastestmirror,

我的服务器是Centos 5

我从WebStatic执行以下指示:

CentOS/RHEL 5.x:

rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
但当运行此命令为我当前的php55w安装php55w mysql ext时,它会显示以下日志:

[root@centos ~]# yum install php55w-mysql --enablerepo=webtatic
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * addons: centos-hn.viettelidc.com.vn
 * base: mirror.digistar.vn
 * extras: centos-hn.viettelidc.com.vn
 * update: centos-hn.viettelidc.com.vn
 * webtatic: us-east.repo.webtatic.com
Setting up Install Process
No package php55w-mysql available.
Nothing to do
然后,我尝试列出WebStatic repo的可用软件包:

[root@centos ~]# yum  --enablerepo=webtatic list | grep php
php55w.x86_64                            5.5.11-1.w5                   installed
php55w-cli.x86_64                        5.5.11-1.w5                   installed
php55w-common.x86_64                     5.5.11-1.w5                   installed
php55w-devel.x86_64                      5.5.11-1.w5                   installed
php55w-gd.x86_64                         5.5.11-1.w5                   installed
php55w-mbstring.x86_64                   5.5.11-1.w5                   installed
php55w-mcrypt.x86_64                     5.5.11-1.w5                   installed
php55w-pdo.x86_64                        5.5.11-1.w5                   installed
php55w-process.x86_64                    5.5.11-1.w5                   installed
php55w-pspell.x86_64                     5.5.11-1.w5                   installed
php55w-xml.x86_64                        5.5.11-1.w5                   installed
graphviz-php.x86_64                      2.12-8.el5.centos             extras
php.x86_64                               5.3.28-4.w5                   webtatic
php-bcmath.x86_64                        5.3.28-4.w5                   webtatic
php-cli.x86_64                           5.3.28-4.w5                   webtatic
php-common.x86_64                        5.3.28-4.w5                   webtatic
php-dba.x86_64                           5.3.28-4.w5                   webtatic
php-dbase.x86_64                         5.1.6-15.el5.centos.1         extras
php-devel.x86_64                         5.3.28-4.w5                   webtatic
php-eaccelerator.x86_64                  1:0.9.6.1-1.1.w5              webtatic
php-embedded.x86_64                      5.3.28-4.w5                   webtatic
php-fpm.x86_64                           5.3.28-4.w5                   webtatic
php-gd.x86_64                            5.3.28-4.w5                   webtatic
php-imap.x86_64                          5.3.28-4.w5                   webtatic
php-intl.x86_64                          5.3.28-4.w5                   webtatic
php-ldap.x86_64                          5.3.28-4.w5                   webtatic
php-mbstring.x86_64                      5.3.28-4.w5                   webtatic
php-mcrypt.x86_64                        5.3.28-4.w5                   webtatic
php-mhash.x86_64                         5.2.17-1.1.w5                 webtatic
php-mssql.x86_64                         5.3.28-4.w5                   webtatic
php-mysql.x86_64                         5.3.28-4.w5                   webtatic
php-ncurses.x86_64                       5.2.17-1.1.w5                 webtatic
php-odbc.x86_64                          5.3.28-4.w5                   webtatic
php-pdo.x86_64                           5.3.28-4.w5                   webtatic
php-pear.noarch                          1:1.9.4-1.w5                  webtatic
php-pear-Auth-SASL.noarch                1.0.2-4.el5.centos            extras
php-pear-DB.noarch                       1.7.13-1.el5.centos           extras
php-pear-Date.noarch                     1.4.7-2.el5.centos            extras
php-pear-File.noarch                     1.2.2-1.el5.centos            extras
php-pear-HTTP-Request.noarch             1.4.2-1.el5.centos            extras
php-pear-Log.noarch                      1.9.13-1.el5.centos           extras
php-pear-MDB2.noarch                     2.4.1-2.el5.centos            extras
php-pear-MDB2-Driver-mysql.noarch        1.4.1-3.el5.centos            extras
php-pear-Mail.noarch                     1.1.14-1.el5.centos           extras
php-pear-Mail-Mime.noarch                1.4.0-1.el5.centos            extras
php-pear-Net-SMTP.noarch                 1.2.10-1.el5.centos           extras
php-pear-Net-Sieve.noarch                1.1.5-2.el5.centos            extras
php-pear-Net-Socket.noarch               1.0.8-1.el5.centos            extras
php-pear-Net-URL.noarch                  1.0.15-1.el5.centos           extras
php-pecl-Fileinfo.x86_64                 1.0.4-3.el5.centos            extras
php-pecl-apc.x86_64                      3.1.9-1.2.w5                  webtatic
php-pecl-gearman.x86_64                  0.7.0-1.w5                    webtatic
php-pecl-memcache.x86_64                 3.0.7-1.w5                    webtatic
php-pecl-xdebug.x86_64                   2.1.0-1.w5                    webtatic
php-pgsql.x86_64                         5.3.28-4.w5                   webtatic
php-process.x86_64                       5.3.28-4.w5                   webtatic
php-pspell.x86_64                        5.3.28-4.w5                   webtatic
php-readline.x86_64                      5.1.6-15.el5.centos.1         extras
php-recode.x86_64                        5.3.28-4.w5                   webtatic
php-snmp.x86_64                          5.3.28-4.w5                   webtatic
php-soap.x86_64                          5.3.28-4.w5                   webtatic
php-suhosin.x86_64                       0.9.32.1-1.w5                 webtatic
php-tidy.x86_64                          5.3.28-4.w5                   webtatic
php-xhp.x86_64                           1.3.9-1.w5                    webtatic
php-xml.x86_64                           5.3.28-4.w5                   webtatic
php-xmlrpc.x86_64                        5.3.28-4.w5                   webtatic
php-zts.x86_64                           5.3.28-4.w5                   webtatic
php53.x86_64                             5.3.3-22.el5_10               update
php53-bcmath.x86_64                      5.3.3-22.el5_10               update
php53-cli.x86_64                         5.3.3-22.el5_10               update
php53-common.x86_64                      5.3.3-22.el5_10               update
php53-dba.x86_64                         5.3.3-22.el5_10               update
php53-devel.x86_64                       5.3.3-22.el5_10               update
php53-gd.x86_64                          5.3.3-22.el5_10               update
php53-imap.x86_64                        5.3.3-22.el5_10               update
php53-intl.x86_64                        5.3.3-22.el5_10               update
php53-ldap.x86_64                        5.3.3-22.el5_10               update
php53-mbstring.x86_64                    5.3.3-22.el5_10               update
php53-mysql.x86_64                       5.3.3-22.el5_10               update
php53-odbc.x86_64                        5.3.3-22.el5_10               update
php53-odbc64.x86_64                      5.3.3-2.el5                   base
php53-pdo.x86_64                         5.3.3-22.el5_10               update
php53-pgsql.x86_64                       5.3.3-22.el5_10               update
php53-process.x86_64                     5.3.3-22.el5_10               update
php53-pspell.x86_64                      5.3.3-22.el5_10               update
php53-snmp.x86_64                        5.3.3-22.el5_10               update
php53-soap.x86_64                        5.3.3-22.el5_10               update
php53-xml.x86_64                         5.3.3-22.el5_10               update
php53-xmlrpc.x86_64                      5.3.3-22.el5_10               update
并且结果没有列出php55w mysql

更新:解决方案是

首先删除旧的WebStatic软件包,使用以下命令:

rpm -e webtatic5-release-5.1-3.noarch
然后重新安装,然后

yum  --enablerepo=webtatic-el5 list | grep php
将显示php55w包的完整列表

[root@centos ~]# yum --enablerepo=webtatic-el5 list | grep php
php55w.x86_64                            5.5.14-1.w5                installed
php55w-cli.x86_64                        5.5.14-1.w5                installed
php55w-common.x86_64                     5.5.14-1.w5                installed
php55w-devel.x86_64                      5.5.14-1.w5                installed
php55w-gd.x86_64                         5.5.14-1.w5                installed
php55w-mbstring.x86_64                   5.5.14-1.w5                installed
php55w-mcrypt.x86_64                     5.5.14-1.w5                installed
php55w-mysql.x86_64                      5.5.14-1.w5                installed
php55w-pdo.x86_64                        5.5.14-1.w5                installed
php55w-process.x86_64                    5.5.14-1.w5                installed
php55w-pspell.x86_64                     5.5.14-1.w5                installed
php55w-xml.x86_64                        5.5.14-1.w5                installed
graphviz-php.x86_64                      2.12-8.el5.centos          extras
php.x86_64                               5.1.6-44.el5_10            update
php-bcmath.x86_64                        5.1.6-44.el5_10            update
php-cli.x86_64                           5.1.6-44.el5_10            update
php-common.x86_64                        5.1.6-44.el5_10            update
php-dba.x86_64                           5.1.6-44.el5_10            update
php-dbase.x86_64                         5.1.6-15.el5.centos.1      extras
php-devel.x86_64                         5.1.6-44.el5_10            update
php-gd.x86_64                            5.1.6-44.el5_10            update
php-imap.x86_64                          5.1.6-44.el5_10            update
php-ldap.x86_64                          5.1.6-44.el5_10            update
php-mbstring.x86_64                      5.1.6-44.el5_10            update
php-mcrypt.x86_64                        5.1.6-15.el5.centos.1      extras
php-mhash.x86_64                         5.1.6-15.el5.centos.1      extras
php-mssql.x86_64                         5.1.6-15.el5.centos.1      extras
php-mysql.x86_64                         5.1.6-44.el5_10            update
php-ncurses.x86_64                       5.1.6-44.el5_10            update
php-odbc.x86_64                          5.1.6-44.el5_10            update
php-pdo.x86_64                           5.1.6-44.el5_10            update
php-pear.noarch                          1:1.4.9-8.el5              base
php-pear-Auth-SASL.noarch                1.0.2-4.el5.centos         extras
php-pear-DB.noarch                       1.7.13-1.el5.centos        extras
php-pear-Date.noarch                     1.4.7-2.el5.centos         extras
php-pear-File.noarch                     1.2.2-1.el5.centos         extras
php-pear-HTTP-Request.noarch             1.4.2-1.el5.centos         extras
php-pear-Log.noarch                      1.9.13-1.el5.centos        extras
php-pear-MDB2.noarch                     2.4.1-2.el5.centos         extras
php-pear-MDB2-Driver-mysql.noarch        1.4.1-3.el5.centos         extras
php-pear-Mail.noarch                     1.1.14-1.el5.centos        extras
php-pear-Mail-Mime.noarch                1.4.0-1.el5.centos         extras
php-pear-Net-SMTP.noarch                 1.2.10-1.el5.centos        extras
php-pear-Net-Sieve.noarch                1.1.5-2.el5.centos         extras
php-pear-Net-Socket.noarch               1.0.8-1.el5.centos         extras
php-pear-Net-URL.noarch                  1.0.15-1.el5.centos        extras
php-pecl-Fileinfo.x86_64                 1.0.4-3.el5.centos         extras
php-pecl-memcache.x86_64                 2.2.3-1.el5_2              extras
php-pgsql.x86_64                         5.1.6-44.el5_10            update
php-readline.x86_64                      5.1.6-15.el5.centos.1      extras
php-snmp.x86_64                          5.1.6-44.el5_10            update
php-soap.x86_64                          5.1.6-44.el5_10            update
php-tidy.x86_64                          5.1.6-15.el5.centos.1      extras
php-xml.x86_64                           5.1.6-44.el5_10            update
php-xmlrpc.x86_64                        5.1.6-44.el5_10            update
php53.x86_64                             5.3.3-22.el5_10            update
php53-bcmath.x86_64                      5.3.3-22.el5_10            update
php53-cli.x86_64                         5.3.3-22.el5_10            update
php53-common.x86_64                      5.3.3-22.el5_10            update
php53-dba.x86_64                         5.3.3-22.el5_10            update
php53-devel.x86_64                       5.3.3-22.el5_10            update
php53-gd.x86_64                          5.3.3-22.el5_10            update
php53-imap.x86_64                        5.3.3-22.el5_10            update
php53-intl.x86_64                        5.3.3-22.el5_10            update
php53-ldap.x86_64                        5.3.3-22.el5_10            update
php53-mbstring.x86_64                    5.3.3-22.el5_10            update
php53-mysql.x86_64                       5.3.3-22.el5_10            update
php53-odbc.x86_64                        5.3.3-22.el5_10            update
php53-odbc64.x86_64                      5.3.3-2.el5                base
php53-pdo.x86_64                         5.3.3-22.el5_10            update
php53-pgsql.x86_64                       5.3.3-22.el5_10            update
php53-process.x86_64                     5.3.3-22.el5_10            update
php53-pspell.x86_64                      5.3.3-22.el5_10            update
php53-snmp.x86_64                        5.3.3-22.el5_10            update
php53-soap.x86_64                        5.3.3-22.el5_10            update
php53-xml.x86_64                         5.3.3-22.el5_10            update
php53-xmlrpc.x86_64                      5.3.3-22.el5_10            update
php54w.x86_64                            5.4.30-1.w5                webtatic-el5
php54w-bcmath.x86_64                     5.4.30-1.w5                webtatic-el5
php54w-cli.x86_64                        5.4.30-1.w5                webtatic-el5
php54w-common.x86_64                     5.4.30-1.w5                webtatic-el5
php54w-dba.x86_64                        5.4.30-1.w5                webtatic-el5
php54w-devel.x86_64                      5.4.30-1.w5                webtatic-el5
php54w-embedded.x86_64                   5.4.30-1.w5                webtatic-el5
php54w-enchant.x86_64                    5.4.30-1.w5                webtatic-el5
php54w-fpm.x86_64                        5.4.30-1.w5                webtatic-el5
php54w-gd.x86_64                         5.4.30-1.w5                webtatic-el5
php54w-imap.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-interbase.x86_64                  5.4.30-1.w5                webtatic-el5
php54w-intl.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-ldap.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-mbstring.x86_64                   5.4.30-1.w5                webtatic-el5
php54w-mcrypt.x86_64                     5.4.30-1.w5                webtatic-el5
php54w-mssql.x86_64                      5.4.30-1.w5                webtatic-el5
php54w-mysql.x86_64                      5.4.30-1.w5                webtatic-el5
php54w-mysqlnd.x86_64                    5.4.30-1.w5                webtatic-el5
php54w-odbc.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-pdo.x86_64                        5.4.30-1.w5                webtatic-el5
php54w-pear.noarch                       1:1.9.4-7.w5               webtatic-el5
php54w-pecl-apc.x86_64                   3.1.13-3.w5                webtatic-el5
php54w-pecl-apcu.x86_64                  4.0.6-1.w5                 webtatic-el5
php54w-pecl-apcu-devel.x86_64            4.0.6-1.w5                 webtatic-el5
php54w-pecl-gearman.x86_64               1.1.2-1.w5                 webtatic-el5
php54w-pecl-memcache.x86_64              3.0.8-2.w5                 webtatic-el5
php54w-pecl-xdebug.x86_64                2.2.5-1.w5                 webtatic-el5
php54w-pecl-zendopcache.x86_64           7.0.3-1.w5                 webtatic-el5
php54w-pgsql.x86_64                      5.4.30-1.w5                webtatic-el5
php54w-process.x86_64                    5.4.30-1.w5                webtatic-el5
php54w-pspell.x86_64                     5.4.30-1.w5                webtatic-el5
php54w-recode.x86_64                     5.4.30-1.w5                webtatic-el5
php54w-snmp.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-soap.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-tidy.x86_64                       5.4.30-1.w5                webtatic-el5
php54w-xml.x86_64                        5.4.30-1.w5                webtatic-el5
php54w-xmlrpc.x86_64                     5.4.30-1.w5                webtatic-el5
php55w-bcmath.x86_64                     5.5.14-1.w5                webtatic-el5
php55w-dba.x86_64                        5.5.14-1.w5                webtatic-el5
php55w-embedded.x86_64                   5.5.14-1.w5                webtatic-el5
php55w-enchant.x86_64                    5.5.14-1.w5                webtatic-el5
php55w-fpm.x86_64                        5.5.14-1.w5                webtatic-el5
php55w-imap.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-interbase.x86_64                  5.5.14-1.w5                webtatic-el5
php55w-intl.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-ldap.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-mssql.x86_64                      5.5.14-1.w5                webtatic-el5
php55w-mysqlnd.x86_64                    5.5.14-1.w5                webtatic-el5
php55w-odbc.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-opcache.x86_64                    5.5.14-1.w5                webtatic-el5
php55w-pear.noarch                       1:1.9.4-7.w5               webtatic-el5
php55w-pecl-apcu.x86_64                  4.0.6-1.w5                 webtatic-el5
php55w-pecl-apcu-devel.x86_64            4.0.6-1.w5                 webtatic-el5
php55w-pecl-gearman.x86_64               1.1.2-1.w5                 webtatic-el5
php55w-pecl-memcache.x86_64              3.0.8-2.w5                 webtatic-el5
php55w-pecl-xdebug.x86_64                2.2.5-1.w5                 webtatic-el5
php55w-pgsql.x86_64                      5.5.14-1.w5                webtatic-el5
php55w-recode.x86_64                     5.5.14-1.w5                webtatic-el5
php55w-snmp.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-soap.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-tidy.x86_64                       5.5.14-1.w5                webtatic-el5
php55w-xmlrpc.x86_64                     5.5.14-1.w5                webtatic-el5

我使用WebStatic,它们目前在PHP5.5.14上。也许您正在查看旧的yum缓存?您的
yum
命令是否配置为通过shell别名或包装器脚本使用
--cacheonly
选项?请尝试强制它使缓存过期:
yum clean expire cache
,然后重试。如果这有什么不同的话,我正在使用el6的WebStatic repo。@Bill Karwin:谢谢。我试过你的建议,但同样的事情发生了。我还尝试了这些命令来清理yum缓存,例如:“su-c'yum clean headers'”、“su-c'yum clean packages'、“yum clean all”……但它并没有带来任何不同。我只是配置了el5 repo并尝试了
yum list
,我看到它包括“php55w-mysql.x86_64 5.5.14-1.w6”。我不知道解决方案是什么,但您的系统似乎没有看到WebStatic当前或完整的软件包列表。恭喜您找到了解决方案!repo名称不是repo文件名,我认为它是repo文件第一行方括号中的标签。