PHP on IIS7.5 (Win7)

PHP on IIS

Here are some notes I took after asking Billy the easiest and fastest way to get PHP running in IIS on a windows 7 machine.  Follow these steps and you'll be able to work on PHP scripts in a matter of minutes -

 

1. PHP(此步骤不需要,可以跳过从第二步开始)

Download and install Php 5.3

 

http://windows.php.net/downloads/releases/

php-5.3.6-Win32-VC9-x86.msi

 

2. IIS > CGI

Add/Remove features > Turn Windows features on or off

 

 

 

3. Web Platform Installer > PHP Manager

Download and install ‘Microsoft Web Platform Installer 3.0’(http://www.microsoft.com/web/downloads/platform.aspx)

Using ‘Microsoft Web Platform Installer 3.0’ to Install 'PHP Manager' (including PHP5.3 and configure php & IIS properly)

 FYI, please see the below screenshot:

This will not only install the PHP manager, but will also configure PHP and IIS properly - so we don't need to manually setup a bunch of handlers.  Note: it  currently installs and configures PHP 5.3.5

 

4. Create a test PHP site in IIS

"D://phpdemo//index.php" 

IIS > Sites > right-click > Add web site

localhost:8080-> D://phpdemo/ 

Hit http://localhost:8080/index.php

Make sure you get the PHP info -

 

 

 

 

We can use Visual Studio to edit the .php files, or you can install the free Eclipse - http://www.eclipse.org/

Good times.

 

To run eclipse, you ought to download and set up JDK

 (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值