Error using Php-mysql in Linux

Source: Internet
Author: User
Tags install php

These days have been crazy use of Linux, but it feels pretty cool, using the command yum install php-mysql a bunch of errors, in fact, because the version is not compatible with the cause, but because the server deployed other projects, so at first I do not intend to reinstall MySQL, Only to bite the bullet to solve this problem, the solution is to search for a compatible, but I found one on the internet, so direct use, here to tidy up, convenient for later use.

Because I am the mysql5.6 version, so use the following package, the other I have not to find, when found to share.

wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm

Then use RPM-IVH mysql-shared-compat-5.6.14-1.el6.x86_64.rpm, finally yum install Php-mysql, restart Apache, success.

Error using Php-mysql in Linux

Related Article

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.