How does one report an error when CentOS uses yuminstallphp-mysql to install php?

Source: Internet
Author: User
Because apache of this project is only used to download the function and install phpAdmin to find the database, and Mysql5.6 has been installed before, it is deployed directly using yum

Because apache of this project is only used to download the function and install phpAdmin to find the database, and Mysql 5.6 has been installed before, it is deployed directly using yum

Because apache of this project is only used to download the function and install phpAdmin to find the database, and Mysql 5.6 has been installed before, it is directly installed using the yum command method during deployment.

However, when using yum install php-mysql, a lot of errors are reported:

From install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL-server-5.6.13-1.linux_glibc2.5.x86_64

The solution is to download the mysql 5.6 compatibility package. The method is as follows:

Wget

Then use the rpm-ivh MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm, and finally yum install php-mysql, restart apache, success.

Recommended reading:

Load Nginx in Ubuntu for high-performance WEB Server 5 --- MySQL master/Master Synchronization

Production Environment MySQL master/Master synchronization primary key conflict handling

MySQL Master/Slave failure error Got fatal error 1236

MySQL master-slave replication, implemented on a single server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.