Home >Backend Development >PHP Tutorial >PHP running environment configuration and development environment configuration tutorial_PHP tutorial

PHP running environment configuration and development environment configuration tutorial_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 17:08:17803browse

Today I will set up a PHP debugging and development environment on the Windows platform. Please forgive me if there is any bad writing.

1. The general steps are as follows

1. Download information
​ 1), download wamp
​ ​ 2) Download the development tool ZendStudio

2. Installation program
​​ 1), install wamp
​ ​ 2). Install the development tool ZendStudio

3. Configuration environment

4. PHP debugging

5. PHP development environment

2. Detailed introduction of steps

1. Download information
1) Download WAMP

The so-called WAMP refers to the installation of Apache web server (A), MySQL database tutorial (M) and PHP script engine (P) under Windows system (W) Of course, the LAMP environment is definitely better than the WAMP environment. However, due to the ease of use of Windows, when we do early development or test some CMS, it is even more convenient and more convenient to use the WAMP environment. Be more practical. WAMP is these individual pieces of software that together form a powerful web application platform.

Download the latest WAMP helper Wamp5 http://9.scdx1.crsky.com/200711/WAMP5-v1.7.4.rar


       2), download the development tool ZendStudio

Zend Studio is a PHP integrated development environment with powerful professional editing tools and debugging tools. It supports PHP syntax highlighting, syntax auto-filling, bookmarking, syntax auto-indentation and code copying. It has built-in A powerful PHP code debugging tool that supports local and remote debugging modes and supports a variety of advanced debugging functions.

  • Windows version Zend Studio 8.0.1 official version official download address : http://downloads.zend.com/..ZendStudio-8.0.1.msi 

2. Installation program
1) Illustration of WAMP installation steps

Download WAMP to

Select the WAMP installation path or the default path.

SMP server address

PHP mail server default Email

Set up the browser.

The installation is completed and the picture is displayed.

3. Configuration environment

After the installation is completed, the default is English.

Set WAMP language. You can set other languages, of course we set it to Chinese

WAMP will be in Chinese after restarting. You can configure the PHP environment through WAMP.

Add an Alias ​​directory, (just like configuring a virtual directory on IIS)

Add an Alias ​​directory name.

Set the physical path pointed to by the Alias ​​directory name.

4. PHP debugging

Add the Index.php file in the C:wampphp tutorial Demo folder, then you can write PHP code in index.php.

Enter: Http://localhost/ in the browser address bar. If you can see the PHP server configuration information in the picture above, it means that your PHP server configuration is successful.

You can directly visit http://localhost/Demo to view the index.php program you just wrote. Displays the results of page execution.

2), PHP development tool ZendStudio installation diagram

The Zend Studio installation process is very simple, just click "Next" and "Next" to basically complete it.

After the installation is complete, you can add a PHP project and write your PHP website. When creating a PHP project, fill in the project name and storage path.

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

5. PHP development environment

Click Run to browse the contents of the PHP page execution in Zend Studion IDE.


If there is an error in PHP writing, it will be clear at runtime how many lines in the PHP file have the error. Debugging is also very convenient.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629841.htmlTechArticleToday I will set up a PHP debugging and development environment on the Windows platform. Please forgive me if there is any bad writing. 1. The general steps are as follows 1. Download data 1), download wamp 2), download...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn