Home  >  Article  >  Backend Development  >  How to run php program in dw?

How to run php program in dw?

藏色散人
藏色散人Original
2019-05-11 11:53:0413039browse

How to run php program in dw?

Recommended manual : php complete self-study manual

1. Create a new site:

(1) Click site - manage site

How to run php program in dw?

(2) Create a new site (note the site folder, the file path is www under the appserv installation directory Directory), the site name can be customized

How to run php program in dw?

Recommended related articles:
1.The 10 best PHP in 2019 Recommended development tools
2.Methods to build PHP running environment
3.Configuration of PHP running environment under windows
Related video recommendations
1. Dugu Jiujian(4)_PHP video tutorial

2. Building services

(1) Click on the server in turn - " "

How to run php program in dw?

## (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 a folder in the www directory created by the site (how to create a folder in the site: ① You can create it manually on the local directory; ②: "Save" before creating the service, and then click the site in the lower right corner of the Dreamweaver tool Right-click 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.

How to run php program in dw?

(3) Save.

3. Create a new PHP file

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

4. Run the PHP file

(1), right-click on the PHP file - Preview in the browser

(2), in Enter the corresponding URL in the browser to access

The above is the detailed content of How to run php program in dw?. For more information, please follow other related articles on the PHP Chinese website!

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
Previous article:Are php and css the same?Next article:Are php and css the same?