Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use phpstorm

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

The editor will share with you how to use phpstorm. I hope you will gain a lot after reading this article. Let's discuss it together.

PHPStorm is popular for PHP and front-end development IDE. How to use it when developers write PHP code for the first time?

1. Click Create New Project

2. Select PHP Empty Project and create an empty directory

3. In the project, right-click on the newly created folder icon, select PHP File, and enter the file name to create it.

4. Enter the completed php code, click in the blank, and the icons of browsers such as chrome and firefox will appear in the upper right corner, and select an existing icon on the computer.

5. By default, the browser will prompt "bad gateway". At this point, you need to configure the phpstorm to PHP interpreter (that is, let PHPStorm find the php.exe file).

Method 1: a "configured" prompt appears in the lower right corner of the compiler, click "configure PHP Interpreter"

Method 2: click "File- > Settings", and open the configuration of PHP language

6. Click "..." on the far right of "CLI Interpreter", click "+", and select "Local Path".

7. Click "..." to the right of "PHP executable", find the existing "php.exe" on the computer, select, click "OK", and then OK all the way.

8. After the configuration is completed, run the code to display normally.

After reading this article, I believe you have a certain understanding of the use of phpstorm, want to know more related knowledge, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report