How to install and configure text in the PHP development environment in Windows 7

Source: Internet
Author: User
Tags php development environment
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:

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.