Home > Development Tools > phpstorm > A brief discussion on how phpstrom configures the php environment

A brief discussion on how phpstrom configures the php environment

青灯夜游
Release: 2021-03-03 18:10:37
forward
3756 people have browsed it

The following tutorial column of phpstorm will introduce to you how phpstrom configures the php environment (setting up automatic synchronization servers, adding swoole automatic prompts). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

A brief discussion on how phpstrom configures the php environment

[Recommended learning: "PHP video tutorial", "PhpStorm usage tutorial"]

phpstorm sets automatic synchronization server

    #Tools->Deployment->Confinguration
  • Dot number, add server, type SFTP, enter name

A brief discussion on how phpstrom configures the php environment# and click OK. The project is successfully connected to the server!

Set server mapping,

Tools->Deployment->Confinguration->Mappings


A brief discussion on how phpstrom configures the php environment

  • Found in the menu bar [Tools]->[Deployment/Deployment]->[Automatic Upload/Automatic Upload].

  • Click [Automatic Upload/Automatic Upload], a small check mark (√) is displayed in front, indicating that the automatic upload function has been started

  • Automatic upload function It has been opened successfully. When the file is modified and Ctrl S (save) is pressed, the file will be automatically uploaded to the server.

phpstorm adds swoole automatic prompt

Download swoole-ide-helper-en

   git clone https://github.com/eaglewu/swoole-ide-helper.git
Copy after login
Open the phpstrom project, right-click on External Libraries, select Configure PHP Include Path

Click, select the directory swoole-ide-helper-en, and click OK.

At this point, the swoole function will automatically prompt.

For more programming related knowledge, please visit:

Programming Video! !

The above is the detailed content of A brief discussion on how phpstrom configures the php environment. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:cnblogs.com
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