Home  >  Article  >  Backend Development  >  What should I do if I get an error when installing php using yum?

What should I do if I get an error when installing php using yum?

藏色散人
藏色散人Original
2021-12-17 09:32:201596browse

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.

What should I do if I get an error when installing php using yum?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn