(original) Win7 comes with iis7.5+php7.0.10 installation tutorial

Source: Internet
Author: User
Tags vc9

PHP released the PHP 7.0 (7.0.10) version on August 18 last week. Detailed download page http://windows.php.net/download/, according to their own computer configuration, as appropriate download version. Win7 flagship edition, iis7.5, selected the 64-bit VC14 x64 Non Thread Safe version. Non-thread-safe means non-thread safe, and this version is paired with the IIS collocation environment. Thread-safe thread safety is paired with Apache, PHP and VC6VC9 version, VC6 and VC9 a support Apache a support IIS,VC9 used on Apache also no problem, we choose VC14.

The first step is to enable the Windows IIS7.5 related components. There is no more detail here. IIS7.5 installation is described in Baidu search.

The second step, download the latest version of PHP7.0.10 packaging files.

In the third step, unzip the downloaded 22.88M zip file into the specified directory, for example, I unzip it to C:/PHP7, and then run the following command in the directory with the cmd command to view the PHP version information:

Php-v

If you are missing a DLL file, this step will pop up with an error notification box:

Fourth step, the error box indicates that this requires the installation of Microsoft's VC14 runtime environment, the need to go to the Microsoft Official website http://www.microsoft.com/zh-CN/download/details.aspx?id=48145 Download the appropriate software installation:

Here we choose 64-bit VC14, click Next to download, install.

The fifth step, after the successful installation, then

Use the cmd command to run the following command in this directory to view the PHP version information:

Php-v

Show success.

Well, success is that simple. Of course, in Windows we usually use PHP's integrated software to build the local development environment, the good news is that XAMPP has provided the appropriate test version. However, this article is to build a iis7.5+php7.0.10 environment, so, to this step, it is necessary to do the following.

Sixth step, download and install PHP Manager for IIS 7,:http://www.iis.net/downloads/community/2010/09/php-manager-for-iis-7, this version applies to both IIS 7, IIS 7.5.

Seventh Step, open IIS 7.5,[Internet Information Services (IIS) manager], double-click the [PHP Manager] icon, click [Register New PHP version],

In the pop-up window (2), enter or select the Php-cgi.exe in the previous unzip directory (for example, C:\PHP). When finished, click [OK].

If prompted "The php.ini file cannot be found. Make sure PHP was correctly registered with IIS. " The "php.ini file could not be found." Make sure that PHP is properly registered to IIS.

In this case, you need to change the php.ini-production or php.ini-development in the PHP folder to php.ini and modify the configuration inside. For specific configurations, see Search.

(original) Win7 with iis7.5+php7.0.10 installation tutorial (figure)

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.