"Plug-in Installation" -> Install the "Aptana php" plug-in; 5. Configure HBuilder External server."/> "Plug-in Installation" -> Install the "Aptana php" plug-in; 5. Configure HBuilder External server.">

Home  >  Article  >  Backend Development  >  How to install php plug-in in hbuilder

How to install php plug-in in hbuilder

藏色散人
藏色散人Original
2021-09-02 10:08:544520browse

How to install php plug-in with hbuilder: 1. Create a new project phpinfo in the htdocs folder; 2. Select the phpinfo file; 3. Click "Tools" –> "Plug-in Installation" –>Install "Aptana" php" plug-in; 5. Configure HBuilder external server.

How to install php plug-in in hbuilder

## Operating environment for this article: Windows 7 system, HBuilderX3.1 version , Dell G3 computer

Hbuilder installs the PHP plug-in

(1) In the installation path of xampp, create a new project phpinfo in the htdocs folder (that is, a folder )


How to install php plug-in in hbuilder

(2) Open the Hbuilder software, select "File"-"Open Directory"


How to install php plug-in in hbuilder

Select the phpinfo file just created


How to install php plug-in in hbuilder

(4) Install a plug-in that supports PHP on HBuilder, click "Tools" - "Plug-in Installation" - select to install the "Aptana php" plug-in


How to install php plug-in in hbuilder

Select The first one, then select Select and choose to install. After the installation is completed, follow the prompts to restart the HBuilder software

(5) Configure the HBuilder external server (the key to this article)
Select "Run" – > Select “Browser Run” – > Select “Set WEB Server”

How to install php plug-in in hbuilder

Select “External Server” – “New


How to install php plug-in in hbuilder

Fill in the name and URL address (http://localhost:80), where 80 is the default port when I installed xampp


How to install php plug-in in hbuilder

Return to "web server" - select the PHP class file For the external server you just created

How to install php plug-in in hbuilder
How to install php plug-in in hbuilder

In this way, the external server is basically configured

(6) Create a new php file for testing
Create a new PHP file in the phpinfo just now,

How to install php plug-in in hbuilder

Write the code


How to install php plug-in in hbuilder

Open "Run"-"Run Configuration"


How to install php plug-in in hbuilder

Find "PHP Page Web" on the left, right-click and select "New"


How to install php plug-in in hbuilder
How to install php plug-in in hbuilder

After running, you will get the following results


How to install php plug-in in hbuilder

Now we can develop PHP.

Recommended learning: "

PHP Video Tutorial"

The above is the detailed content of How to install php plug-in in hbuilder. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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