Iis6 php runtime environment mysql connection problems
Source: Internet
Author: User
Environment xpsp3/iis6php6 my iis installation package is downloaded from the Internet, and the original system CD installation package is not used. Iis6 integrates the php5 environment, which is not described here. This section describes the mysql connection problems that I encountered during the configuration process. The system exception prompt is: error: Callto... "/> SyntaxHighligh environment xp sp3/iis6 php6 my iis installation package is downloaded from the Internet, and the installation package of the original system disc is not used. Iis6 integrates the php5 environment, which is not described here. This section describes the mysql connection problems I encountered during the configuration process. The system exception prompt is: error: Call to undefined function mysql_connect () in. by checking the php configuration information, no mysql is supported. 1. check the php environment. If the php. ini path can be correctly found by the system, the above interface will be displayed. The extension_dir path is incorrect. if the path is incorrect. ini, find extension_dir, and modify extension = php_mysql.dll to check whether php is enabled. whether to remove the semicolon before extension = php_mysql.dll in ini from php. in the configuration file of ini, find mysql column configuration as follows: mysql. default_port = 3306mysql. default_host = localhostmysql. default_user = root2, libmysql. dll check whether libmysql exists in C: \ WINDOWS \ system32. dll file. If no, copy one from the php Installation Path to system32 and check the php environment configuration again. The information indicates that the mysql configuration is successful!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service