Phpmyadmin reports "the mysqli extension is missing. Check the PHP configuration "-php Tutorial

Source: Internet
Author: User
Phpmyadmin reports "the mysqli extension is missing. Check the PHP configuration "1. First, check the mysql dll and mysqli. dll services in php. ini except the semicolon php installation package.
2. the following paths are correct about apache configurations.
LoadModule php5_module "D:/php/php5.4/php5apache2_2.dll"
AddType application/x-httpd-php. php
AddType application/x-httpd-php. htm
PHPIniDir "D:/php/php5.4/php. ini"
LoadFile "D:/php/php5.4/php5ts. dll"
DocumentRoot "G: \ php_project"
But the error is returned.


Reply to discussion (solution)

Phpinfo (); check if the mysqli extension is loaded.

It's strange that my service was launched.

Check whether php. ini in the Loaded Configuration File is the File you modified.

I have not changed
Only the service and specified ext path are added to php. ini.

Loaded Configuration File (none)
Many online practices are to put php. ini in the windows directory on drive C.
But this is different because I started php. ini in apache when I started apache, so I didn't need to place php. ini into drive C, so I didn't do that.

PHPIniDir "D:/php/php5.4"
Instead
PHPIniDir "D:/php/php5.4/php. ini"

PHPIniDir
Directory where php. ini is located

The reason is that I accidentally added "." to the php. ini file and wrote "php. ini"
Therefore, Loaded Configuration File (none) appears)

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.