Run phpmyadmin, and the mysql extension cannot be loaded. check the PHP configuration. my environment is iis + php5.2.4 + mysql5.0, which has been changed according to the online search method, but still cannot be loaded.-php Tutorial

Source: Internet
Author: User
Run phpmyadmin, and the mysql extension cannot be loaded. check the PHP configuration. my environment is iis + php5.2.4 + mysql5.0. I have changed it according to the online search method, but it still does not work. run phpmyadmin, unable to load & nbsp; mysql & nbsp; extension. Please check & nbsp; PHP & nbsp; configuration. my environment is iis + php5.2.4 + mysql5. run phpmyadmin, the mysql extension cannot be loaded. check the PHP configuration. my environment is iis + php5.2.4 + mysql5.0, which has been changed according to the online search method, but still cannot be loaded,
Run phpmyadmin, and the mysql extension cannot be loaded. check the PHP configuration. my environment is iis + php5.2.4 + mysql5.0. I have changed it according to the online search method, but it still does not work,
The changes are as follows:
1. for php. INI files
Go to C: \ PHP and set php. copy ini-dist to C: \ WINNT (C: \ Windows in Windows XP/2003) and change it to php. ini, open it in notepad, and use the search function of notepad to search extension_dir = ". /", and direct the path to the extensions directory under your PHP Directory, for example, extension_dir =" C: \ PHP \ ext "; then search register_globals = Off, change Off to On;
Search; extension = php_mysql.dll, remove the quotation mark.
2. in the manual, change "PHP \ sapi \ php4isapi. dll" to "php5isapi. dll" in the php directory"
3. Important: Copy the dll file under the php directory and ext (php4x is extension in the manual, which should be ext) to system32, copy libmysql in the php directory. dll file to system32.

Restart IIS:
Run the following commands one by one at the command prompt:
Net stop w3svc
Net stop iisadmin
Net start w3svc


------ Solution --------------------
If an error occurs, search for information and configure it several times.
------ Solution --------------------
Use the command line to connect and check whether the problem is mysql or phpmyadmin.

Related Article

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.