Before the prompt time a Bo friend, suggested that I provide PHP development environment of the building article. Of course, we generally developed under the Windows platform, mostly,
Well, today I am in the Windows platform to build PHP debugging and development environment. If there is a bad writing, please understand.
first, the general approximate steps are as follows
1. Download information
1), download Wamp
2), download development tools Zendstudio
2. Installation program
1), install Wamp
2), install development tools Zendstudio
3. Configure the Environment
4, PHP debugging
5. PHP Development Environment
Ii. detailed introduction of the procedure
1. Download Information
1), download Wamp
The so-called Wamp refers to the installation of the Apache Web server (A) and the MySQL database (M) and the PHP scripting Engine (P) under the Windows System (W), which is certainly better than the WAMP environment in the lamp environment. However, because of the ease of use of Windows, so we do in the pre-development or testing some CMS, using the WAMP environment is even more convenient and practical. Wamp that 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, support PHP syntax highlighting, support syntax autofill, support bookmarks, support syntax Auto-indentation and code copy function, built-in a powerful PHP code debugging tools, Supports both local and remote debug modes, and supports a variety of advanced debugging features.
Windows edition Zend Studio 8.0.1 download
2. Installation program
1), WAMP installation step diagram
Download the Wamp to
Select the Wamp installation path or the default path.
SMP server Address
PHP Mail Server default Email
Set the startup browser.
The installation is complete and the picture is displayed.
3. Configure the Environment
The default is English after installation is complete.
Sets the Wamp language. You can set the other language, of course we set to Chinese (Chinese)
Wamp is Chinese after the restart. You will be able to configure the PHP environment via Wamp.
Add an alias directory (just 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 you can write PHP code in index.php.
In the browser address bar, enter: Http://localhost/If you can see information about the PHP server configuration, your PHP server configuration is successful.
You can access Http://localhost/Demo directly to view the index.php program you just wrote. Displays the results of the page execution.
2), PHP development tool Zendstudio installation diagram
Zend Studio installation process is simple, click "Next", "next" basically can be 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 retention path.
This is where you can add PHP files to your project. Write a PHP page.
5. PHP Development Environment
Click to run, you can browse the PHP page in the Zend Studion IDE to perform the content.
If PHP has errors in writing, the runtime can clearly see how many lines in the php file are wrong. Debugging is also very convenient.
The above is the PHP configuration environment and development environment, each step has a diagram, text description is not many, if you want to do more detailed understanding and learning, but also find more information.