In general, this is fine, but our configuration file PHp.ini will not take effect if our system does not configure the environment variable PHPRC. This means that you can use the MySQli extension. We found one of them Extension =php_mysqli.dll, remove the semicolon at the beginning to allow the configuration to take effect. If not, you can make a copy through PHp.ini-Development. The configuration file in Windows is in php.ini under the PHP installation directory. The first thing we need to do is to modify the PHP configuration file. DLL is existing in the PHP installation directory under ext directory: The solution is to configure the relevant variables so that the program finds the location.īy default php_mysqli. The reason for this error is that PHP was unable to load the dynamic library php_mysqli.dll. The error report is: Class ‘mysqli’ not found. For example, we have access to mysql through the API provided by PHP extension Mysqli.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |