In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shares with you an example of developing a ThinkPHP project on PHPstorm. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
How to develop ThinkPHP projects on PHPstorm
1. Install and download
1) download thinkPHP: download address: thinkPHP Chinese download [http://www.thinkphp.cn/down.html] after download, decompress it in a directory and wait for it to be used.
2) the choice of integrated environment: for beginners, it is OK to use an integrated environment. There are integrated environments such as wamp,xammp to choose from, and you can download one at will. It is easy to install these integrated environments, but you will encounter the situation that the port is occupied when you use it. Just set the port in the environment by yourself.
(recommended tutorial: thinkphp tutorial)
2. the construction and configuration of the environment.
1) the choice of IDE, IDE I chose PHPstorm, the interface is very good, the prompt is very good, if you have used Androidstudio friends will certainly like this IDE, because there are many keyboard shortcuts to operate exactly the same. The interface is shown in the picture, and the interface style can be chosen by yourself.
Download address of PHPstorm:
Download address for phpstorm windows version: https://www.php.cn/xiazai/gongju/122
Download address for phpstorm mac version: https://www.php.cn/xiazai/gongju/510
2) the introduction of thinkPHP
Click "File"-> "open" in the upper left corner of phpstorm, select the folder unzipped by thinkPHP, so that you can introduce all the thinkPHP files, then start your wamp (xammp) Apache server, select index.php, and run it. At this time, if it is the first time to use phpstorm, there may be 502errors. This is because wamp has not yet been deployed to phpstorm, just configure it according to the prompts.
(a brief introduction: click 'File'- >' settings'- > 'languages$Framworks'- >' PHP'- > 'interpreter' to find the .php.exe file in the PHP directory of your wamp or xammp.) screenshot below:
Screenshot of running successfully:
Thank you for reading! This is the end of the example of developing a ThinkPHP project on PHPstorm. I hope the above content can be helpful to you so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.