PHP Run Environment Configuration and development environment configuration (graphics and text tutorial) _php instance

Source: Internet
Author: User
Tags php server php development environment php script php website zend
Prompt time a Bo friend, suggested that I provide PHP development environment to build articles. Of course, we generally developed under the Windows platform Majority,
So, today I build PHP debugging and development environment 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 Windows System (W) installed Apache Web server (A) and the MySQL database (M) and PHP script engine (P) and built up the PHP network servers environment, of course, in the lamp environment is certainly better than the WAMP environment, However, 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.
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 version Zend Studio 8.0.1 download

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

Add the index.php file to the C:\wamp\phpDemo folder, and 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.

The above is the configuration environment and development environment of PHP, each step has a diagram, the text description is not a lot, if you want to do more detailed understanding and learning, but also to find more of their own information.

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.