Win7IIS7.5 + PHPManager installation and configuration PHP5 + Mysql tutorial

Source: Internet
Author: User
Tags win32 installer
I recently changed my computer and needed to install and configure PHP5 on Windows 7. most of the previously created environments were Apache + PHP + Mysql, as Microsoft has gradually begun to pay attention to the recent change of PHP computers, it is necessary to re-install and configure PHP5 on WIN7. most of the previously established environments are Apache + PHP + Mysql, microsoft has gradually begun to focus on php on Windows applications, and has successively launched Microsoft Web Platform, PHP Manager, and other IIS Platform tools. Therefore, Microsoft has always wanted to experience php on win, next, I will share my experiences and feelings about installing and configuring PHP5 using Microsoft Web Platform + PHP Manager on WIN7 IIS7.5.

  Win7 IIS7.5 + PHP Manager installation PHP Tutorial

On Windows 7, I used Microsoft Web Platform to install PHP Manager and PHP5.2.14. first, I will introduce Microsoft Web Platform.

  What is Microsoft Web Platform?

Microsoft Web Platform is a Platform for Microsoft integrated development languages and applications. it can be installed and configured through Microsoft Web Platform Installer, such as ASP. NET, PHP, and other development platforms and corresponding WEB applications, it is said that the white dot is a bit similar to the software store.

  Use Microsoft Web Platform (Microsoft Web installation 2.0) to download and install PHP

On the page for installing PHP5.2.14 on the WEB installation Platform, click Install PHP5.2.14 to connect. First, you will be prompted to Install Microsoft Web Platform Installer, click the second part of the page to bring up the WEB Platform Installer 2.0 interface,


Microsoft Web Platform Installer Platform, prompting to install PHP


PHP5.2.13 and PHP Manger for IIS are installed by default. you can click the three buttons on the left to select the WEB platform and WEB application to be installed, on the WEB platform, the WEB server option is mainly for IIS. click custom to select the required IIS function. if you install and configure PHP in CGI mode, check the CGI option! Click next to list the corresponding options,


Microsoft Web Platform download PHP5.2.14 WIN32 installer


  Note:
1. I can use the WEB application installation platform 2.0 to Download PHP Manager For IIS normally, but I cannot download PHP5.2.14 normally. it may be related to the network speed at that time, because the two software are mutually dependent, therefore, PHP Manager For IIS cannot be installed. I click the installation address prompted by the platform to manually download PHP5.2.14 and PHP Manager For IIS. Therefore, I personally feel that this platform is a bit tasteless.

2. before installing and configuring PHP on Win7, you must install and configure IIS7.5 on the WEB application installation platform 2.0. otherwise, PHP installation may fail.

3. when selecting to Download PHP Manager, please note whether your Win7 is 32-bit or 64-bit. PHP Manager has two versions: 32-bit and 64-bit. my Win7 system is 32-bit, so I downloaded the PHPManagerForIIS-1.1.0-x86.

  Install PHP5.2.14

After the installation of Win7 IIS7.5 configuration and PHP Manager, click to install the php_5.2.14-nts-Win32-VC6-x86.msi,

Php_5.2.14-nts-Win32-VC6-x86 installation configuration


I will focus on the precautions for installing PHP.

1. the php_5.2.14-nts-Win32-VC6-x86.msi installer does not install PHP Extension by default, please be negligent when installing PHP, otherwise the related Extension of PHP cannot be used.

2. Although PHP Mnanger manages PHP Extension, such as importing related DLL files from external sources, disabling or enabling DLL extensions, however, the PHP installation directory contains the ext directory when PHP is installed. otherwise, phpinfo will not display the corresponding PHP Extension Library.

3. provide a tip. if the system prompts that the PHP extension module cannot be loaded, you can use the CMD mode, run the php-m command to check whether the corresponding DLL file is missing.

4. when installing PHP5.2.14, if you are sure to run PHP in IIS Fastcgi mode, select the Cgi option.

5. after PHP5.2.14 is installed, you can see that the PHP FastCgi configuration has been added through FastCgi settings in Control Panel-administrative tools-IIS Manager.

  PHP Manager PHP5 Configuration tutorial

After PHP5.2.14 is installed, please refer to the PHP5 tutorial on FastCgi and ISAPI installation and configuration under Win7 IIS7. The website I added is named after my PHP development blog www.leapsoul.cn, click the website name, and click the PHP Manager image on the right side of the IIS7.5 Manager. the page is displayed:


PHP Manager configuration PHP5


PHP Manager function interface is divided into three parts

  PHP Installation Management: PHP installation version, PHP version management, phpinfo configuration information output, etc.

  PHP configuration management: PHP. INI configuration file, error report, PHP configuration option management, etc.

  PHP extensionlibrary management: Enable or disable the corresponding PHP Extension Library and add new extensions.

You can manage and configure the information in PHP. INI through these three parts, which is very convenient.

  Mysql database installation

By default, Microsoft's WEB Installer mainly targets, ODBC and other related databases, and does not involve Mysql databases. Therefore, you need to download and install Mysql separately. I provide a Mysql5.1, for the installation and configuration process of the Mysql database, see The PHP environment setup: tutorial on installing and configuring the PHP + Apache + Mysql environment in Windows 7.

So far, the installation and configuration of PHP5 + Mysql through Microsoft Web Platform and PHP Manager on Windows 7 IIS7.5 has been completed. I think PHP Manager is a very good tool for managing and configuring PHP on the IIS server, we recommend that you use it.

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.