Windows 2008 Installation PHP5 graphics and text detailed

Source: Internet
Author: User
Tags php file phpinfo
This tutorial mainly writes IIS7 and PHP's new version of the configuration (iis7+fastcgi+php).
Due to the use of the IIS7 version of IIS under Windows 2008 (WIN7), there may be a different configuration method, so this tutorial is written.
By the way a few days ago PHP5.5.0 Alpha out, because the busy did not go to the environment to test. It's time to get together.
This time in the virtual machine installation operation, the system is installed by the Windows 2008 Standard SP2 (32-bit) version. Once installed, add the role (IIS service), and the default is enough to be CGI when adding a role.
The web4.0 platform installer is also installed. web4.0 Platform Installer: http://www.iis.net/downloads
Open the Web Platform installer, search "fastcgi", install the IIS 7.0 fastcgi update, as shown in the figure (I have already installed, as long as you choose to install the first on it, the following 2 will be automatically installed)
It's over here. Preparatory work has been completed to download the PHP Zip package (VC9 x86 Non thread safe)
Decompression, I put myself into the C-Disk PHP folder (c:/php)
IIS Admin Interface---handler mapping---adding module mappings
Request Path: *.php
Module: Fastcgimodule
Executable: Path to Php-cgi.exe
Name: Casual (for example: PHP)
Default Document---Add index.php I won't say it in detail here.
root directory, create phpinfo.php file, content
<?php phpinfo ();? >

To access http://127.0.0.1/phpinfo.php, the following figure appears.

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.