Home  >  Article  >  Development Tools  >  How to run php files in dw

How to run php files in dw

藏色散人
藏色散人Original
2019-08-20 11:01:4513458browse

How to run php files in dw

#dwHow to run php files?

1. Create a new site:

(1) Click Site - Manage Site

How to run php files in dw

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

How to run php files in dw

2. Build the service

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

How to run php files 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), server The folder is a folder created by the site in the www directory (how to create a folder in the site: ① You can manually create it on the local directory; ②: "Save" before creating the service, and then click on 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 files 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 files 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