Windows Server R2 IIS7.5 php, MySQL quick environment configuration "diagram"

Source: Internet
Author: User
Tags php windows

As we all know, the server version of the win platform is not able to run PHP by default, you need to configure the server environment.

And many friends tangled how to configure, in Baidu search out a lot of tutorials, basic steps complex, novice configuration error-prone.

Today, Shing teaches you a quick way to configure, and this way PHP runs in fast-cgi, which is much more efficient and faster than ISAPI.

first of all , this is the server for my example (new, no configuration History)

The first step is to go to server management

The default task bar has the server Management icon, click on the icon, in the new open window on the left side of the list of clicking " role ", then click on the right side of the add role .

Start installing IIS.

Follow the diagram arrows

In the pop-up window, click Next

Select the IIS server, and then continue to the next step

When you select IIS features, you must select all of the application development options.

Then confirm and start the installation, the installation process can rest.

When you are finished, IIS is officially installed. Next, configure the PHP environment

Step two, configure PHP, MySQL environment

Go to Microsoft to download "Web installation Platform" first

Http://www.microsoft.com/web/downloads/platform.aspx

Do not be afraid of all English, just click on the right green "free download" can

After downloading, it will automatically install after about dozens of seconds, then see this screen to show that the Web installation platform has been completed.

Click "Products", then "frame", select a version of PHP you like, then click on the database, at the bottom of the selection MYSQL5.1 click Add.

After adding the Click Install MySQL will ask to set a password, be sure to remember it. (Xee: This is the root password of the database;)

Follow the steps to the next step or accept

The installation process will automatically download the required installation package, the general time and your server speed.

Please wait patiently for the children's shoes with slow speed.

After the installation is complete, the PHP environment is configured;

Xee: I have encountered the problem: I clearly chose the php5.5 version of the installation, but to download php5.3, but also download not down, really sin, O (︶^︶) O Alas, had to go to the http://windows.php.net/download!!! In addition, the database only mysql5.1 version of the .... If you do not have an environment installation package such as PHPNOW,XAMPP,UPUPW, then go to the website of PHP windows to see, there is about how to choose PHP version, and some instructions:.

The Web installation platform also has other tools such as: PHP cache, SEO tools, vs development environment (see here) ...

You can see more than one PHP Manager in IIS;

Go in. You can configure PHP settings by default, no configuration is required, and the expansion is already open.

The MySQL default account is the root password that is set when it is installed.

Well, start your PHP trip to IIS!

Finally you may also want to configure some things, please own Baidu. (Is there a problem?) Here are the using PHP Manager for IIS to setup and configure PHP ... )

Remove the following configuration comments to support MySQL

The code is as follows:

Extension=php_curl.dll
Extension=php_gd2.dll
Extension=php_mysql.dll
Extension=php_pdo_mysql.dll
Extension=php_pdo_odbc.dll

Support session
Session.save_path = "E:/temp"
Upload file directory Configuration
Upload_tmp_dir = "E:/temp"
Time zone configuration
Date.timezone =asia/shanghai

< reference: Annotated source:http://zouyingzheng.cn/archives/389>

Windows Server R2 IIS7.5 php, MySQL quick environment configuration "diagram"

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.