HBuilder is a very efficient and fast website development editor. When we use Hbuilder for website backend PHP development, if we want to click the browser button on the toolbar for a quick preview, this article We will introduce in detail the environment for integrating PHP into the front-end development tool Hbuilder.
Because HBuider does not integrate the PHP running environment, it depends on an environment, such as XAMPP, AppServ, WAMP, etc. The configuration process is similar. The key depends on personal preferences and which environment you like to use. This article uses the XAMPP environment integrated with HBuilder's PHP running environment.
1. Open the Hbuilder software and select "File" - "Open Directory"
2. Select the phpinfo file you just created
3. Install a plug-in that supports PHP on HBuilder, click "Tools" - "Plug-in Installation" - select to install the "Aptana php" plug-in
After completion, follow the prompts to restart the HBuilder software
4. Configure the HBuilder external server (the key to this article)
First switch to the "View while changing mode" in the upper right corner, and then click the small triangle. Select "Set up web server"
5, select "External Server" - "New"
6, Fill in the name and URL address
7. Return to “web server” – select the PHP class file as the external server you just created
In this way, the external server is basically configured.
Recommended tutorial: PHP video tutorial
The above is the detailed content of Can hbuilder develop php?. For more information, please follow other related articles on the PHP Chinese website!