Windows + iis + php

Source: Internet
Author: User

1 \
1: Decompress php-5.2.4-win32.zip and name it Php. Copy it to C.
2: Copy all *. dll files in C: \ php and C: \ php \ ext to C: \ WINDOWS \ system32 and overwrite them.
3: copy the php-win.exe, php.ini-dist, and php.exe files under C: \ php to C: \ WINDOWS, and rename php. ini-dist to php. ini.
4: Open IIS (Information Service)-Web service extension-Add a new Web extension with the extension php, and request file-add-browse-C: \ php \ php5isapi. dll, set the extension to allow status check
5: Web service extensions-all Isapi extensions and Internet data connectors-enable scaling status check
6: Right-click the site that supports Php and select Properties-Isapi filter-add-Filter Name: php-executable file: C: \ php \ php5isapi. dll
7: main directory-configuration- ing add-executable file: C: \ php \ php5isapi. dll-Extension:. php
3. Install ZendOptimizer (ZendOptimizer is used to accelerate php)
Next-Finish (all the way to the next step, OK, complete)
4. Configure Php. ini
Open the WordPad and press C: \ WINDOWS \ php. ini, search (Ctrl + f) register_globals = Off, change Off to On; extension_dir = ". /", and ". /"to" C: \ php \ ext ";
Start the following lines of code and delete the number.
; Extension = php_dbase.dll optional
; Extension = php_gd2.dll this is used to support the GD library. It is generally required.
; Extension = php_ldap.dll optional
; Extension = php_mbstring.dll (required)
; Extension = php_mssql.dll this is used to support MSSQL, optional
; Extension = php_mysql.dll this is used to support MYSQL. To support MYSQL, you must remove the ";" before the above code. You can also remove the previous one if needed; close and save the file.
V. Install Mysql (one installation page per step)
1: Run php-5.2.4-Custom item-Next
2: Click (Change...) to Change the installation path.
3: after changing the path, click Next, and then click Install to start installation.
4: we can see the installation progress!
5: Select Skip Sign-Up and click Next> continue installation!
6: the installation is complete. Select Configure the MySQL Server now and click Finish to Configure Mysql.
7: Go to the Mysql configuration page-Next
8: Select Detailed Configuration item-Next
9: Select Server Machine item-Next
10: select the Multifunctional Database item-Next
11: In this step, I still use the default one (let you choose the location where the database files are stored)
12: Select Online Transaction Processing (OLTP)-Next
13: continue Next
14: Select language support! Use the default-Standard Character Set item
15: Remember to select Include Bin Directory In Windows Path item-Next
16: enter the password-Next
17: Click Execute to complete the configuration and start the MYSQL service.
18: Click Finish to complete the installation of Mysql.
6. Install mysqlcc-0.9.4-win32 (manage database. create user. database. Table ...)
"1: This article mainly installs how to configure Iis + Php + Mysql. This module is simple to say. Either" Next "or" Finish ". There are several items in the pop-up interface.
Hostname: (enter it as a name)
Name: (the username root when installing Mysql)
Password: (the user password used to install Mysql)
Another mysql address is localhost by default.
Click Add. 2: After this step is completed, change the interface to the Simplified Chinese menu bar-Options-General Ctrl + 0-in the open General Language item, select the Simplified Chinese option-0 K to restart mysqlcc
7. Install Phpmyadmin
1: Iis points to the decompressed phpmyadmin directory.
2: Rename config. sample. inc. php In the root directory to config. inc. php.
3: When you browse index. php, a prompt is displayed, indicating that the password is empty. in the upper-right corner, click a connection to enter the phpmyadmin configuration page. after entering the information, add-OK.
8. Follow the steps above to test the Cngothic and install it successfully. If the Gd library and Mysql cannot be loaded, follow the steps below to solve the problem.
This is caused by the following steps:
Open the WordPad and press C: \ WINDOWS \ php. ini, search (Ctrl + f) register_globals = Off, change Off to On; extension_dir = ". /", and ". /"to" C: \ php \ ext ";
To solve this problem, do not modify the above sentence when configuring PHP. INI in Step 4. If you modify it, follow the steps below. Cngothic personally prefers clean files, so...
1: Cut the php. ini in C: \ WINDOWS to the desktop
2: copy the PHP. ini-dist from C: \ php to C: \ WINDOWS to retry php. ini.
3: Open php. ini on the desktop and browse to the end of the page. copy the ZEND installation information to the end of the C: \ WINDOWS \ php. ini page.
4: Find; extension = php_gd2.dll code. Delete the number before extension = php_gd2.dll. Restart IIS. This will ensure that the Gd library can be loaded.
5: Find; extension = php_mysql.dll code before extension = php_mysql.dll; Delete and restart iis. Hehe mysql is also loaded in.
6: DEDECMS 2007 will be detected during the installation of ecms, and Ecms4.7 will be released. Learn to configure PHP quickly.
 
Remember to right-click the settings on the default site
Author: "linux"

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.