Memories of installing PHP + MYSQL on IIS and those of installing PHP + MYSQL on IIS. 1) do not download the WindowsInstaller on www.php.net. After it is installed, you cannot use MYSQL and you do not know what the problem is. It will never be repaired. That's right. EXTention can never be loaded. Therefore, php_mysql.dll never enters the memory. MYS 1) do not download the above Windows Installer. Once installed, MYSQL cannot be used and you do not know what the problem is. It will never be repaired. That's right. EXTention can never be loaded. Therefore, php_mysql.dll never enters the memory. The MYSQL_CONNET () function is never found. Never set well. You don't know what he did! Therefore, many programs cannot be used before the appearance of PDO.
2) so be sure to manually. Manual is king. Because we know what we want to do. Do not be lazy.
3) next to this # PHP 5.2.5 zip package [9, 713Kb]-08 November 2007
Md5: a1e31c0d872ab030a2256b1cd6d3b7d1
Started manually
4) decompress the package. To D: \ php, change php. ini-recommand to php. ini. Then delete the semicolon before extenstion = php_mysql.dll, and then open _short_tag = On (to run Discuz !), Then set extension_dir to D: \ php \ ext \
5) on my computer, click the button on the right of the mouse, properties, and environment variables. Add D: \ PHP to the Path below, which is similar to a Buddha and allows php.exe to be run.
6) open IIS6 to create a WEB extension and add d: \ php \ php5isapi. dll to it.
7) create a site. There is a configuration under the main directory tab. Add a php extension dll, or d: \ php \ php5isapi.
8) restart windows 2003.
In this case, test mysql_connect. Call the undefined function.
Okay, that's all I have to say. I wrote so many records in one breath, but I didn't think so. Maybe there are some omissions. Maybe there is something wrong, such as the variable name. This is probably the case.
It seems that I can still recall. Well.
By the way. Two days ago, the server memory broke down, resulting in a blue screen overhaul of the server. Data is basically not lost. Here, we will advertise the enterprise-level SATA2 hard drive of Western data. Good quality. Really good. Here we criticize Kingston's 1 GB memory, which is too bad.
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