environment
xp sp3/iis6
php6
My iis installation package was downloaded from the Internet and did not use the original system CD installation package. As for the integration of iis6 into the php5 environment, there are many on the Internet that I will not introduce here. Mainly describes the mysql connection problem I encountered during the configuration process,
System exception prompt: error: Call to undefined function mysql_connect() in. By checking the configuration information of PHP, it was found that there is no support for mysql
Solution ideas
1. Check the php environment
php.ini path problem
If the php.ini path can be found correctly by the system, the above interface will appear.
extension_dir path problem,
If the path is incorrect, you need to modify php.ini, find extension_dir and modify it
extension=php_mysql.dll check whether it is enabled
Check whether the semicolon in front of extension=php_mysql.dll in php.ini is removed
Find the mysql column in the configuration file of php.ini
The configuration is as follows
mysql.default_port=3306
mysql.default_host=localhost
mysql.default_user=root
2. libmysql.dll
Check if there is a libmysql.dll file in C:WINDOWSsystem32. If not, copy one from the php installation path to system32
Check the php environment configuration information again
Seeing this information means that mysql related configuration is successful!
http://www.bkjia.com/PHPjc/477801.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477801.htmlTechArticleEnvironment xp sp3/iis6 php6 My iis installation package was downloaded from the Internet and was not installed using the original system CD Bag. As for the integration of iis6 into the php5 environment, there are many on the Internet that I will not introduce here. Mainly describe me...