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 will introduce in detail the front-end development tool Hbuilder. Integrated environment for running PHP.
Because HBuider does not integrate the PHP operating environment, it depends on an environment, such as XAMPP, AppServ, WAMP, etc. The configuration process is similar. The key depends on personal preference and which environment you like to use. This article uses the XAMPP environment integrated with HBuilder's PHP running environment. (Recommended learning: PHP video tutorial)
Now we will officially start the theme of this article一, First of all, of course, you need to open the environment. First, find the folder where XAMPP is installed, click to open the "xampp-control" file, click start ""Open" Apache" and "MySQL"
2. In the XAMPP installation path, create a new project phpinfo (that is, a folder) under the htdocs folder
3. Open the Hbuilder software, select "File" - "Open Directory"
Select the phpinfo file just created
4. Install a plug-in that supports PHP on HBuilder, click "Tools" - "Plug-in Installation" - choose to install the "Aptana php" plug-in (I have installed it here)
After completion, follow the prompts to restart the HBuilder software5. Configure the HBuilder external server (the key to this article)
First, the upper right corner Switch to "View while changing mode", then click the small triangle and select "Set up web server"The above is the detailed content of Can hbuilder write php?. For more information, please follow other related articles on the PHP Chinese website!