First install php5.5.14 (mysql problems)

Source: Internet
Author: User
The first installation of php5.5.14 (mysql problems) because I use apsaradb, mysql is not required for all servers. after php5.5.14 and apache are installed. The program used is wordpress. Always said: Your PHP does not seem to have installed the MySQL extension necessary to run WordPress. Is it necessary to install the mysql client. Or why? I hope you can help me. My first contact with php


Reply to discussion (solution)

Instead of the mysql client, you need to install the mysql extension of php.

Sudo apt-get install php5-mysql

Php 5.5 no longer supports php_mysql extension. use php_mysqli extension instead.

How to configure it .. My phpInfo address is www.4acms.com/test.php.

Solved ..
Compilation parameters:
-- With-mysql = mysqlnd
-- With-mysqli = mysqlnd
-- With-pdo-mysql = mysqlnd
Mysqlnd is added in php5.3 and later versions, and mysql must be compiled in versions earlier than 5.3.

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.