Home >Backend Development >PHP Problem >What's going on when iis php can't load mysql?
Since a variety of technologies need to be used in the website development process, iis php and MySQL are also commonly used technologies. However, when using iis php, sometimes you encounter the problem that MySQL cannot be loaded. What should you do at this time?
First of all, we need to understand the basic concepts of iisphp and MySQL.
iisphp is a web server that allows users to run and manage web applications on Windows computers. MySQL is a relational database management system that is often used to store and manage data.
When iisphp cannot load MySQL, there may be several reasons:
The following introduces some methods to solve the problem that iisphp cannot load MySQL:
extension=php_mysql.dll
extension=php_mysqli.dll
In the above code, php_mysql. dll is an extension library required when using MySQL, and php_mysqli.dll is an improved version for MySQL and can also be enabled at the same time.
Summary: When iisphp cannot load MySQL, you need to check the MySQL service status and check the parameters in the MySQL configuration file. You also need to check whether the PHP extension library is correctly enabled. The above method can effectively solve the problem that iisphp cannot load MySQL. I hope it can be helpful to everyone.
The above is the detailed content of What's going on when iis php can't load mysql?. For more information, please follow other related articles on the PHP Chinese website!