1. The libmysql.dll file is missing in the system's system32 (C: windowssystem32) directory. The solution is to find libmysql.dll in the php directory, copy libmysql.dll to the C: windowssystem32 directory, and then restart the Web service.
2. In the php.ini file in the C:windows directory, the previous ";" in ";extension=php_mysql.dll" has not been removed, so the corresponding function cannot be used. The solution is to open the php.ini file and find
;extension=php_mysql.dll
Change to
extension=php_mysql.dll //Remove the previous; to make it effective
3. The Mysql directory does not have read permissions. The correct directory permissions are as follows:
administrator Full control
system Full control
users Read and run + list folder directories + read
Delete all other user permissions, and then restart the MYsql service and Web service
(Note: There are no security settings for the above settings; it is recommended to restart the server after modification)
Importantly, you also need to check the permissions of the php.ini file, check the permissions of the php file copied to system32, and check the permissions of the php installation directory folder. It must have at least the users default permissions. The temp folder must have at least the users group modification level permissions. .
From www.clxw.com
Author "Beauty floating in memory"