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.
2. Click the menu bar Tools-》Deployment-》Configuration. Then you will get the following interface.
#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.
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.
#5. Just fill in the last two with your own project name.
#6. Deploy your php project. The server here is the server you just configured. Here is twoServer. Then you can access it.
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!