PHP Run Environment Configuration and development environment Configuration tutorial

Source: Internet
Author: User
Tags php file php server php code php development environment php script php website mysql database zend

Today, I built the debugging and development environment of PHP under the Windows platform. If there is a bad write, please forgive.

The general approximate steps are as follows

1, download the information
1), download Wamp
2), download development tools Zendstudio

2. Installation procedure
1), Installation Wamp
2), Installation development tool Zendstudio

3, configure the environment

4, PHP debugging

5, PHP development environment

Second, the steps detailed introduction

1, download the information
1), download Wamp

The so-called Wamp, refers to the installation of the Apache Web server (A) and the MySQL Database Tutorial (M) and the PHP script engine (P) under Windows System (W) and the PHP Web servers environment built up, of course, In the lamp environment is certainly better than the WAMP environment, but because of the ease of use of Windows, so, we do early development or test some CMS, using the WAMP environment is even more convenient and practical. Wamp, these individual software together form a powerful Web application platform.

Download Wamp latest Help Wamp5 Http://9.scdx1.crsky.com/200711/WAMP5-v1.7.4.rar


2), download development tools Zendstudio

Zend Studio is a PHP integrated development environment with powerful professional editing tools and debugging tools, supports PHP syntax highlighting, supports syntax autofill, supports bookmarks, supports syntax automatic indentation and code copying, built-in a powerful PHP code debugging tool, Supports both local and remote debugging modes and supports a variety of advanced debugging features.

    • Windows edition Zend Studio 8.0.1 official version of the official download address : Http://downloads.zend.com/..ZendStudio-8.0.1.msi

2. Installation procedure
1), WAMP installation steps diagram

Download the Wamp to

Select the Wamp installation path, or the default path.

SMP server Address

PHP Mail Server default Email

Sets the startup browser.

Installation complete, display picture.

3, configure the environment

The default is English when the installation is complete.

Sets the Wamp language. You can set the other language, of course we set it to Chinese (Chinese)

Wamp after the restart for Chinese. You can configure the PHP environment by Wamp.

Add an alias directory (like configuring a virtual directory on IIS)

Add an alias directory name.

Sets the physical path to which the alias directory name points.

4, PHP debugging

In the C:wampphp Tutorial Demo folder to add index.php file, then you can write PHP code in index.php.

In the browser address bar, enter: Http://localhost/If you can see the above diagram of the PHP server configuration information, your PHP server configuration success.

You can access Http://localhost/Demo directly to see the index.php program you just wrote. Displays the results of the page execution.

2), PHP development tool Zendstudio installation diagram

The Zend studio installation process is simple, click "Next" and "next" to get it done.

Once the installation is complete, you can add a PHP project and write your PHP website. When you create a PHP project, you fill in the project name and keep the path.

This is where you can add PHP files to your project. Write PHP pages.

5, PHP development environment

Click to run to navigate through the PHP page in the Zend Studion IDE.


If PHP has errors in writing, the runtime can clearly see how many lines in the PHP file have gone wrong. Debugging is also very convenient.

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.