Install php5.5.14 for the first time (MySQL problem)

Source: Internet
Author: User
Because I am using a cloud database, all servers do not need to install MySQL. After installing php5.5.14 and Apache. The program used is WordPress. Always say: Your PHP does not seem to install the MySQL extension necessary to run WordPress. is not sure to install the MySQL client. Or what? I hope you can help me. The first time I contacted PHP


Reply to discussion (solution)

Not a MySQL client, but a MySQL extension to install PHP

sudo apt-get install Php5-mysql

PHP 5.5 is no longer supported for Php_mysql extensions, use php_mysqli extension instead

How to configure: My phpinfo address is: www.4acms.com/test.php

Solved the.
Compile parameters:
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
Mysqlnd is a later version of php5.3, the following version of 5.3 must still be compiled MySQL.

  • 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.