What to use for php deployment

藏色散人
Release: 2023-02-25 10:54:01
Original
3131 people have browsed it

What to use for php deployment

What to deploy php?

php You can use phpStorm to deploy local PHP projects to the apche server:

1. This is my local simple php project. Among them, D:\httpd-2.4.35-win64-VC15\Apache24\htdocs is the root directory of the project that the apache server will scan. Among them, my project is named two.

What to use for php deployment

2. Click the menu bar Tools-》Deployment-》Configuration. Then you will get the following interface.

What to use for php deployment

#3. Click on the icon in the upper left corner and fill in the added server name (choose one yourself). Type select Local or mounted folder. Click OK.

What to use for php deployment

4. As shown below, what is filled in the Folder directory is that the apache server will scan the root directory of the project, which is D:\httpd-2.4.35-win64-VC15\Apache24\ htdocs (this can actually be changed later by modifying the apche configuration file). Web server root URL is the accessed url path. If you have not modified Apache's default access port (80) here, you don't have to write it, or you can write 80, because if you don't write it, web requests will also access port 80 by default.

What to use for php deployment

#5. Just fill in the last two with your own project name.

What to use for php deployment

#6. Deploy your php project. The server here is the server you just configured. Here is twoServer. Then you can access it.

What to use for php deployment

What to use for php deployment

Recommended: "PHP Tutorial"

The above is the detailed content of What to use for php deployment. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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