IIS7 Configuration encyclopedia (asp.net 2.0, WCF, asp.net mvc,php) _win server

Source: Internet
Author: User
Tags install php mysql download php download zend

First,IIS7.0 configuration ASP. NET2.0

1, asp.net 2 department

1 first open the Win7 feature, the path I have marked

The selection below is asp.net2.0, if you want to support asp.net1.1, your selected IIS6 compatible

2.) Set security options

3) added. NET Classic application pool

4 Convert the site to application

5 Add Yourmachinename\iis_iusrs permissions to the site

6.) Right-click Site-manage application-advanced Setting Set the current site to classic. Net AppPool

2. Deploying WCF

Open "Start | All Programs | accessories | Command Prompt", enter "CD C:\Windows\Microsoft.NET\Framework\v3.0\Windows communication Foundation", carriage return. Then type "Servicemodelreg.exe-i" and enter.

3. Deploying ASP.net MVC

Under IIS7, deploying ASP.net mvc is the easiest way to do this, adding a. NET application Pool in integrated mode and assigning it to your asp.net MVC application.

Note: Vista and Win7 genuine use are IIS7, so the configuration is the same.

Second, shared configuration forWindows Server 2008 iis7.0

Configuring Windows Server 2008 iis7.0 is shared primarily for convenience if you have 2 IIS servers, my first IIS has a Web site, named Winos Bar, 2nd IIS does not have a Web site (the default deleted), configure the shared configuration, and then refresh the 2nd IIS server out of the first I built the name of the Winos site, and I am free Which configuration to change, will automatically sync to another IIS side, because they are using a configuration file.

1, new 2 shared folders, Winos save my Web page file, share my profile

2. Create a new Web site on the first IIS, named Winos, path to the Winos folder that I share.

1) Set the credentials of the connection

2 to see if you can browse on this machine

3, configure the shared configuration, double-click the shared configuration

1) Click on the right export configuration, we first export the configuration file

2 where the physical path to fill in the file I have previously shared, and fill out the encryption key

3) Click on the connection to set the credentials of the connection, click OK

4 Configure location, enable shared configuration, and fill in the relevant information

5 Enter password for encryption key

OK, our first IIS configuration is complete.

4.: Configure the 2nd IIS server (as shown below, the 2nd IIS server is not a Web site)

1) Click on the shared configuration, fill in the relevant information

2) Enter the encrypted key

3) Click Refresh

4 We built the first IIS server name for Winos's website out of the

5) Enter the URL to browse

Three, Win7 configure IIS 7.0 PHP operating environment

Note: We are using the IIS V7.0+php+mysql+zend to build the operating environment under WIN7.

1. Installation of IIS v7.0

1 Control Panel-Programs and functions-turn Windows features on or off

2 test for successful installation of IIS v7.0, enter in browser:

http://localhost/

Http://127.0.0.1/%3C/A%3E%3C/P

A successful installation of IIS v7.0 appears as shown on the interface

3 new site: (default site used as asp/asp.net/, start 8080 port, that is, access to use http://localhost:8080/)

2. Configure PHP Environment

PHP Download Address: http://soft.huweishen.com/soft/263.html.

1 Download PHP after extracting to G:\php

2) Add ISAPI filter:

3 Add script map:

4 Add Application pool:

5 Change the Site application pool and add the default document index.php.

6 Modify the G:/php/php.ini-list file name to php.ini, copy to f:/windows/(dual system, Windows 7), modify PHP.ini: Make IT support gd,mysql, etc.

7) Modify the Extension_dir directory:

8 copy libmcrypt.dll,libmysql.dll,php5ts.dll three files to F:/windows/system32 (dual system, Windows 7), create a new index.php in the default directory

9 Enter <a href= ' http://127.0.0.1:8080/' >http://127.0.0.1:8080/</A> verify successful PHP Installation:

3., add MySQL database:

MySQL Download address: http://www.jb51.net/softs/2193.html.

1) Install MySQL:

2 Set MySQL (Here we do not explain in detail, configuration tutorials for details, see http://www.jb51.net/article/23876.htm.) )

3 Verify that MySQL is installed correctly:

A, detection service Manager: MySQL is started:

b, use phpMyAdmin can access MySQL:

OK MySQL has been properly installed and ready to use.

Because the Zend Optimizer installation does not require any configuration, this is omitted here. After the installation was successful Zend Optimizer our PHP environment under Win7 was successfully configured.

IIS7.0 's function is really very practical, full-featured, such as its maximized desktop graphical operating system, maintainability excellent, and based on IIS v6.0/v7.0 (2008), can support the script is quite complete, not only support the Linux can not support asp/ ASP.net, you can also install PHP, MySQL, Zend Implementation of PHP environment. At the same time, using Serv-u can realize FTP management. The operation is simple, without typing any commands to achieve universal mainframe. Really is worth downloading a use Ah!!

IIS7.0 Download Address: http://www.jb51.net/softs/35697.html. This article is part of the data Reference network.

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.