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

A brief discussion on how phpstrom configures the php environment

青灯夜游
青灯夜游forward
2021-03-03 18:10:373765browse

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
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!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete