Help me with the extension of php and mysqli-php Tutorial

Source: Internet
Author: User
You guys help me solve the expansion problem of php and mysqli. 1. I have set up the php + apache environment. You can go to the phpinfo page.
2. the system is win8.
3. some methods on the Internet have changed the environment variables.
4. once mysqli extension code is used, an error is reported. Fatal error: Class 'mysqli' not found in E: \ Program Files \ apache \ htdocs \ phpinfo. php on line 3 or Class Error: mysqli. isn' t exists!
5. I should have not installed the extension of mysqli, but I won't get the extension of php. you can help me a lot and try to explain it in detail.
Thank you!


1.> path image

2.> a warning is also posted without notice of any impact.

3.> This seems to be something of mysql, and it is also posted for you to see.


In addition, I follow the blog
Http://my.oschina.net/u/925202/blog/193105 to the east and west, without any influence.

You have worked very hard. The downloaded php file does not seem to contain the php_mysqli.dll file.


Reply to discussion (solution)

Search for php_mysqli.dll in php. ini and remove the preceding comments.

Search for php_mysqli.dll in php. ini and remove the preceding comments.

It has been removed.

Search for php_mysqli.dll in php. ini and remove the preceding comments.

It was removed early in the morning, but it didn't work. it was the error after the removal.

Apache httpd. conf must contain at least
PHPIniDir "php Installation Path"
LoadFile "php installation path/php5ts. dll"
LoadModule php5_module "php installation path/php5apache2_2.dll"
Addtype application/x-httpd-php. php

Apache httpd. conf must contain at least
PHPIniDir "php Installation Path"
LoadFile "php installation path/php5ts. dll"
LoadModule php5_module "php installation path/php5apache2_2.dll"
Addtype application/x-httpd-php. php


I tried it, but I still couldn't. I only had one LoadFile, but I still couldn't do it after I added it.

Is there anyone who helped me solve the problem by using qq remotely. I think I have tried my best.

Don't worry, bro. install wamp directly.

Don't worry, bro. install wamp directly.

Well, what if I want to move to a linux server?


Don't worry, bro. install wamp directly.

Well, what if I want to move to a linux server?



One-click installation package is also available in linux. if you are a developer, it will be OK if the environment can be created, and you will have extra time to learn about the server.

The solution is not solved, but forget it. Take it easy.

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.