How to run php program in dw?

藏色散人
Release: 2023-04-06 15:36:02
Original
12985 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!