Home  >  Article  >  Backend Development  >  PHP environment construction and tool (dreamweaver) usage

PHP environment construction and tool (dreamweaver) usage

WBOY
WBOYOriginal
2016-07-28 08:28:461255browse

1. Download
PHP environment construction (environment integration tool): Search "appserv" on Baidu, and then download it directly
 PHP环境搭建及工具(dreamweaver)使用
dreamweaver cs5 development tools:
Download address: http://pan.baidu.com/s/1i54jHcT


2. Installation
1. Appserv installation: Pay attention to setting the server port and database password. The other steps are fine. The installed directory is as follows:
 PHP环境搭建及工具(dreamweaver)使用
2. Dreamweaver installation: Directly open the quick installation under Adobe Dreamweaver CS5, and then install it.


3. Run php file on dreamweaver
1. Create a new site:

(1) Click site - manage site
 PHP环境搭建及工具(dreamweaver)使用
(2) Create a new site (note the site folder, the file path is the www directory under the appserv installation directory), the site name can be customized
 PHP环境搭建及工具(dreamweaver)使用
 PHP环境搭建及工具(dreamweaver)使用
2. Build the service

(1) Click on the server - "+"
 PHP环境搭建及工具(dreamweaver)使用
(2) Configure the service, the name can be customized, the connection method is local/network (if there are other services, you can modify it yourself), the server folder is the folder created by the site in the www directory (how to create a folder in the site: ① It can be created manually on the local directory; ②: "Save" before creating the service, and then right-click on the site in the lower right corner of the Dreamweaver tool to create a new folder). The Web URL is the prefix URL accessed from the browser (can be customized) ;Open "Advanced" and change it to the second picture.
 PHP环境搭建及工具(dreamweaver)使用
 PHP环境搭建及工具(dreamweaver)使用
(3) Save.


3. Create a new PHP file
Right-click on the folder created by the site - create a new file (change the suffix).


4. Run PHP file
(1) Right-click on the PHP file - Preview in browser
(2) Enter the corresponding URL in the browser to access

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the establishment of PHP environment and the use of tools (dreamweaver), including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

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