我正在运行 CentOS 6.3。我的目标是将 php 从 5.4.9 降级到 5.3.3,并支持 PDO(用于 Magento)。Magento 无法正常工作。此外,phpmyadmin 也无法正常工作,因为它抱怨未安装 mysqli 扩展。
这是我的 phpinfo
http://69.195.198.165/phpinfo.php
Magento 错误消息:
http://69.195.198.165/errors/report.php?id=1018227680846&skin=default
目前已使用 yum 安装:
[root@server etc]# rpm -qa | grep php
php-frameworks-1.0.3-1.noarch
php-cli-5.3.3-22.el6.x86_64
php-pdo-5.3.3-22.el6.x86_64
php-common-5.3.3-22.el6.x86_64
php-5.3.3-22.el6.x86_64
phpmysql 错误消息
http://69.195.198.165/vps/mysql_admin/index.php
这是我尝试安装 php-mysql 时得到的结果
>root@server etc]# yum install php-mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.itc.virginia.edu
* epel: mirror.umd.edu
* extras: mirror.liberty.edu
* updates: mirror.umd.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: php-mysql-5.3.3-22.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: php-mysql-5.3.3-22.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mysql-5.3.3-22.el6.x86_64 (base)
Requires: libmysqlclient.so.16()(64bit)
Available: MySQL-shared-5.1.63-1.glibc23.x86_64 (servergrove-rhel-6)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (base)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (updates)
libmysqlclient.so.16()(64bit)
Error: Package: php-mysql-5.3.3-22.el6.x86_64 (base)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: MySQL-shared-5.1.63-1.glibc23.x86_64 (servergrove-rhel-6)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (base)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (updates)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我确信我犯了一个简单的错误...有什么想法吗?提前致谢。
答案1
删除阻碍您安装的冲突的第三方servergrove
存储库。(更不用说可能导致各种其他麻烦。)