PHP connection MySQL Error: Fatal error:call to undefined function mysql_connect (), how to handle

Source: Internet
Author: User
PHP connection MySQL Error: Fatal error:call to undefined function mysql_connect ()
PHP connection MySQL Error: Fatal error:call to undefined function mysql_connect ().

The Phpinfo configuration is as follows:

http://blog.csdn.net/attop/article/details/6906539


Ask how to solve, thank you!

------Solution--------------------
http://taichi.blogbus.com/logs/6786608.html, just touch the words feel or use wamp such as the integration package parity, do not spend too much time on the configuration
------Solution--------------------
Is the MYSQLND a MySQL upgrade product?
------Solution--------------------
Explore

Reference:
Did you install MySQL?
There is no extension to open MySQL, only mysqli and PDO are opened.



MySQL's loaded, and it's started.

It's not just--with-mysqli=mysqlnd--with-pdo-mysql=mysqlnd, all right?

The manual says that the mysqli extension can replace the MySQL extension and recommend the extension with mysqli

------Solution--------------------
The MySQL extension is not on, open it, restart Apache.
  • 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.