The slave node takes some time to learn about PHP, so it configures the development and running environment of PHP on its own machine. Previously configured manually in WindowsServer2003OS. The WEB server is IIS. This time I configured it on my machine and found a simple method.
The slave node takes some time to learn about PHP, so it configures the development and running environment of PHP on its own machine. Previously, it was manually configured in Windows Server 2003 OS. The WEB Server is IIS. This time I configured it on my machine and found a simple method.
Operating System: Windows 7 Ultimate
WEB server: IIS 6.1 (internal version 7600 ).
Database: MySql5.0.67
PHP version: 5.2.13
I am also worried that Windows 7 may be incompatible, but the result is no problem at all.
1. Install the MySql database
Download the MySql database here:
The client tool Navicat (navigation cat) is downloaded here: I downloaded the Win32 Lite version, which supports Oracle and MySql.
Database installation is relatively simple. You can select one or more settings based on your needs.
The main interface of Navicat is as follows:
Ii. install PHP
Before installation, open control panel -- uninstall program -- enable or disable Windows function -- Internet Information Service -- World Wide Web Service -- check CGI in application development function (not checked by default ).
I downloaded an integrated MSI installation package. Here, I downloaded PHP:, and Windows Binaries /. After the download is complete, run the installation directly. On the following interface, I chose IIS FastCGI:
In this way, the PHP environment is configured:
Publish a site in IIS, create index. php, and write the following simple code:
After running, the page outputs hello world !, Environment configuration successful.
Iii. PHP development tools
EditPlus, Zend Studio, and so on. You can search for them online and I will try the two.
Let's first look at EditPlus:
Zend Studio is only installed and not used yet. The main interface is provided first:
During this period, we found VS. PHP for Visual Studio 2010, but it was only for the 30-angel version. We had to pay for the genuine version, so we had to leave it alone.
Zend Studio download, first version 7.2:
Online Registration machine: