Home > Article > Backend Development > PHP environment construction and tool (dreamweaver) usage
1. Download
PHP environment construction (environment integration tool): Search "appserv" on Baidu, and then download it directly
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:
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
(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
2. Build the service
(1) Click on the server - "+"
(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.
(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
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.