Solution to the error when yum installs php: 1. Check the error message; 2. Execute "yum -y install php* --skip-broken" in the command window.
The operating environment of this article: Ubuntu 12.10 system, php5.3 version, Dell G3 computer.
What should I do if I get an error when installing php on yum?
Solution to error when installing php* using yum
# yum -y install php*
Note:
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 will appear at the end if the installation is successful
Recommended learning : "PHP Video Tutorial"
The above is the detailed content of What should I do if I get an error when installing php using yum?. For more information, please follow other related articles on the PHP Chinese website!