PHP website prompts that MySQLi component does not exist
想无2021-09-07 13:35:53
0
2
992
In the newly configured website environment of Xiaoniao Cloud Windows server, the php file can be opened and the website can be accessed, but when using phpmyadmin, it prompts that the mysqli component is missing
The performance of Xiaoniao Cloud Server is stable. During the process of configuring the website with Windows server, if the mysqli component is missing as mentioned in the question, or when installing the website, there is always a lack of extensions such as curl gd mysql mysqli... Solved The method is as follows: Right-click My Computer>Properties>Advanced System Settings>Environment Variables>New variable name: PHPRC variable value: Enter the installation location of php, which is where php.ini is located. Then restart the IIS server/Apache...or restart the server directly. Try again after completion
The performance of Xiaoniao Cloud Server is stable. During the process of configuring the website with Windows server, if the mysqli component is missing as mentioned in the question, or when installing the website, there is always a lack of extensions such as curl gd mysql mysqli... Solved The method is as follows: Right-click My Computer>Properties>Advanced System Settings>Environment Variables>New variable name: PHPRC variable value: Enter the installation location of php, which is where php.ini is located. Then restart the IIS server/Apache...or restart the server directly. Try again after completion
phpinfo() Check whether it is enabled. If php.ini is not opened, remove the semicolon in front of the module and restart the web