PHPMyAdmin shows a workaround for missing mysqli extensions

Source: Internet
Author: User
Tags phpmyadmin

When I was learning PHP100 video tutorial Today, I installed phpMyAdmin. The first download is the latest version of Phpmyadmin-4.1.4-all-languages, direct 500 error, the page can not open. The PHP version I'm using is the old version-php versions 5.4.0RC4. Personal feeling may be the latest version of phpMyAdmin does not support the old version of Php bar, anyway, it is all displayed 500.

The phpmyadmin-3.5.4-all-languages is then downloaded from the PHP100 website. In accordance with the installation instructions from the online search,

1. Under Apache under the Htdocs folder

2.httpd.conf under

<ifmodule dir_module>
DirectoryIndex index.html index.php
</IfModule>

I added index.php.

Entering localhost/phpmyadmin in the browser finally no longer shows the 500 and folder contents, but shows the missing mysqli extension. Baidu Solutions,

1

Open php.ini, check php.ini, Extension=php_mysqli.dll is not enabled, that is, remove the front; , find; Extension=php_mysqli.dll put the semicolon in front of ";" Remove, change to
Extension=php_mysqli.dll

2

; extension_dir= "./ext"
Put the preceding semicolon ";" Remove, change to
Extension_dir =
"E:\php\ext"
e:\php for PHP storage directory

In the beginning I did not change to the absolute path, and then know that under Windows here must be filled with absolute path.

Open the address to open it.

It is important to note that many of the tutorials are outdated, saying "check Lib_mysql.dll is not copied to the Windows directory" after PHP5.3, there is no such file.

While reading some of the outdated PHP tutorials, Will refer to the Libmysql.dll file, or even mention to copy the file and Php5ts.dll to the Windows system32 directory, so the novice at this time found that the download PHP5.3 package does not have libmysql.dll files, so very confused. In fact, PHP is intentionally to remove the Libmysql.dll file, because it provides a better alternative, is the embedded PHP module "Mysqlnd", but also because "Mysqlnd" is embedded, so there is no need for redundant libmysql.dll-like files. At the same time, this has no effect on the use of MySQL, Mysqli, PDO, as this is only an update to the way MySQL is interacting at the bottom, and the PHP programmer does not have to control it, the original or the same.

See http://pdo2010.blog.163.com/blog/static/192070092201262274811764/Here for instructions, I also search.

There's no way to find a libmysql.dll solution.

PHPMyAdmin shows a workaround for missing mysqli extensions

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.