Phpmyadmin prompts that mysqli extension cannot be loaded _ PHP Tutorial

Source: Internet
Author: User
Tags mysql functions
Phpmyadmin prompts that the mysqli extension cannot be loaded. When phpmyadmin is used, we sometimes see this prompt that the mysqli extension cannot be loaded. next I will summarize the solution. Mysqli is the enhanced version of mysql extension for php. The performance is better than that of mysql functions. when using phpmyadmin, we sometimes see this prompt that the mysqli extension cannot be loaded. next I will summarize the solution.

Mysqli is an enhanced version of mysql extension for php. The performance is much better than that of mysql functions.

1. first, copy the php. ini-dist in your php directory to C: WINNT (win2003, winxp, win98 should be the corresponding system directory ).

2. remove "-dist" next to php. ini-dist, use notepad to open it, search "php_mysqli.dll", and remove the preceding "." Save

3. copy php_mysql.dll in the C \: phpext Directory (your php directory here) to the C: WINNT \ system32 directory.

4. copy libmysql. dll to C: windows \ system32


For php. INI files

Enter C: PHP, copy the php. ini-dist file to C: WINNT (C: Windows in Windows XP/2003), and change the name

Php. ini, open it in Notepad, search extension_dir = "./" using the search function of notepad, and point the path to your PHP directory.

Extensions Directory, for example: extension_dir = "C: PHPext"; then search register_globals = Off and change Off to On;
Search; extension = php_mysql.dll, remove the quotation mark.
2. in the manual, change "PHPsapiphp4isapi. dll" to "php5isapi. dll" in the php directory"
3. Important: Copy the dll files under the php directory and ext (php4x is extension in the manual, which should be ext)

On the basis of system32, copy the libmysql. dll file under the php directory to system32.

Bytes. Mysqli is an enhanced version of mysql extension for php. The performance is better than that of mysql functions...

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.