1, the Libmysql.dll file is missing in the System32 (C:\windows\system32) directory of the system, the workaround is to locate the Libmysql.dll in the PHP directory and copy the Libmysql.dll to C + + windows\ System32 directory, and then restart the Web service.
2, in the php.ini file in the C:\windows directory, there is no "; Extension=php_mysql.dll" in the previous ";" removed, so the corresponding function cannot be used, the workaround is to open the php.ini file to find
; Extension=php_mysql.dll
Change into
Extension=php_mysql.dll//Remove the front; 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 Directory + read
Remove all other user rights, and then restart the MySQL service and Web service
(Note: The above settings have no security settings; recommend that you restart the server after modifying)
It is important to check the permissions of the php.ini file, check the permissions of the PHP files copied to the System32, and check the permissions of the PHP installation directory folder. At a minimum, you must have the users default permissions. The Temp folder must have at least the Users group modify level permissions.
From www.clxw.com
The third one did not meet, the other two are useful.
The author "The Beauty of floating in memory"
http://www.bkjia.com/PHPjc/478657.html www.bkjia.com true http://www.bkjia.com/PHPjc/478657.html techarticle 1, the Libmysql.dll file is missing in the System32 (C:\windows\system32) directory of the system, the workaround is to locate the Libmysql.dll in the PHP directory and copy the Libmysql.dll to c \ Windows\System32 directory ...