In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to configure the PhpStorm+PhpStudy development environment. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
PHP is a scripting language used to write dynamic web pages, suitable for the field of Web development. The first step to contact with PHP is to build a development environment platform that can execute PHP programs. Here we choose the configuration of the PhpStorm+PhpStudy development environment.
PhpStorm is specially used to write code, and PhpStudy is used to compile and run PHP programs with PhpStorm. PhpStudy is actually a program integration package for PHP debugging environment. The program integration package includes the latest Apache+PHP+MySQL+phpMyAdmin+ZendOptimizer, which can be installed at one time and is convenient and practical.
PhpStorm and PhpStudy can download the latest version directly from their official website and install it on their own. Here's a look at how the two development environments fit together, that is, how to connect them together.
Open PhpStorm, click to create an empty project, and fill in the project name, project storage address, and so on in the input box, as shown in the following figure (the address of the project in the following figure is on the untitled folder in the PHP folder in disk F):
two。 In the PHP language level column, I chose the PHP-5.6 version, and then click "..." in the CLI Interpreter column. Button to jump to another interface.
Click the "+" button in the upper left corner of the new interface to add Interpreter, fill in the name of the Interpreter in the box to the right of the location of "Name", and click "..." in the column of PHP executable. Button to add the php.exe file location we want to set, and select the php.exe file location in our PhpStudy in the pop-up dialog box. The configured PHP-5.6 version is shown in the following figure:
3. Click "OK" when the configuration is completed, return to the previous interface, and drop down to see our configured Interpreter, as shown in the following figure:
4. After the project is created successfully, create a new test.php file. In order for the contents of the test.php file to be displayed in the browser, you must configure the local server and select: Tools-- > Deployment-- > Configuration. In the pop-up interface, click the "+" button in the upper left corner and configure it according to the following information, as shown below:
5. Click the "OK" button, go back to the previous interface, and configure according to the information shown in the following figure. The right border of the Folder column shows the storage address information of the WWW folder (WWW folder is the root directory of our website) under the directory where you downloaded and installed the PhpStudy software, as shown below:
6. To configure the running debugging environment, click: Run-- > Edit Configrations..., to expand Defaults-> PHP Web Application, which is now the status, as shown in the following figure:
7. Click "..." on the right-hand side of the Server column. Button, click the "+" button in the pop-up box to add server information, and configure it according to the following information, as shown below:
8. Go back to the previous page, in the Server drop-down to see the name of our configuration and select it, click "OK" to complete the configuration.
9. Finally, there are two ways to deploy the project to the server, namely, manually uploading files and automatically uploading files. Select Tools-- > Deployment-- > Upload to localhost to upload files manually. Automatically upload files by clicking: Tools-- > Deployment-- > Automatic Upload, that is, when we modify the file and save it, the software will automatically upload the modified file to the server.
Thank you for reading! This is the end of the article on "how to configure the PhpStorm+PhpStudy development environment". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.