yum安装PHP报错的解决办法:1、查看错误信息;2、在命令窗口执行“yum -y install PHP* --skip-broken”即可。
本文操作环境:Ubuntu 12.10系统,PHP5.3版,Dell G3电脑。
yum 安装PHP 报错怎么办?
# yum -y install PHP*
注意:
PHP53-odbc64-5.3.3-2.el5.x86_64 from base has depsolving problems --> PHP53-odbc64 conflicts with PHP53-odbc Error: PHP53-odbc64 conflicts with PHP53-odbc 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. # yum -y install PHP* --skip-broken
安装成功会最后出现Complete!
推荐学习:《PHP教程》