Hbuilder + PHP Development environment configuration

Source: Internet
Author: User
Tags php development environment php web server

  1. Introduction to the Hbuilder integrated development environment

    Hbuilder is a web development IDE that supports HTML5 in Dcloud (Digital Paradise). Hbuilder is written in Java, C, Web, and Ruby. The main body of Hbuilder itself is written by Java. It is based on eclipse, so it is naturally compatible with Eclipse plug-ins. Fast, is Hbuilder's biggest advantage, through the complete grammar hints and the code input method, the code block and so on, greatly enhances the HTML, JS, the CSS development efficiency.

    The Hbuilder code hints feature is very powerful. For the Web front-end development code code is definitely a good helper, for the development of PHP files may not be the best, but its own "edge-to-edge viewing mode" is definitely rare (of course, other editors also have, No, we can also configure it for real-time updates, but it also requires a configuration (code configuration) with a high degree of difficulty and a long time. We're still not going to write code for things that can be done by moving the mouse.

    The necessity of real-time browser update I believe we all understand: from the database to read the information, write the PHP code to do a refresh of the browser, it is not convenient. Hbuilder "Edge to look at the mode" perfect realization of this our front-end code farm just need.

  2. Tools and Users
  3. Windows System (Win7 Win10 can be used, others have not tried);
  4. Hbuilder Editor;
  5. Phpwamp integrated development environment;

    Note: The Hbuilder editor and Phpwamp Integrated Development environment installation package has been stored to 506 internal hard drives and needs to be requested. Both do not need to be installed and can be used by opening the. exe file.

  6. Phpwamp Use method

    Find the PHPWAMP.exe file in the Software installation package, double-click to open it. 1, 2 is shown.

    figure 1

    figure 2

     

    to enter the database, you can click the Manage Database button directly, Click to jump to the interface shown in 3:

    figure 3

    The

    User name and password are found in the Use tutorial. txt file in the Software installation directory, as shown in 4:

    figure 4

    User name: root, Password: 168168.

     

  7. Hbuilder How to use

    1. Similarly, Hbuilder does not need to install, directly find the HBuilder.exe in the Hbuilder folder, double-click to open the file, 5 shows:

    Figure 5

    After opening, from the Start screen can click Register to enter the use of software, or click the Temporary login button, you can also enter the editing interface.

    2. Click File---> New--->web project to create a HTML+CSS+JS project, as shown in 6, 7:

    Figure 6

    Figure 7

    So far, a HTML+CSS+JS Web project has been built.

  8. Configuring an external Web server for PHP

    Click Run---> Set up the Web server as shown in 8, 9, 10, 11:

    Figure 8

    Figure 9

    Figure Ten

    Figure One

    Note: The URL shown in Figure 11 is filled in by the following rules:

    http://127.0.0.1: + Server port number +/php, Wang Bo server port number is 506, therefore the URL is:

    http://127.0.0.1:506/php.

    Figure A

    Next, change the PHP Web server to the external server URL that you just set, as shown in 13:

    Figure -

    In this way, the external server of PHP is configured.

    Next, under the Wwwroot directory under the Phpwamp software directory, create a new folder named PHP. Then, from the Hbuilder, click Open Directory, open the PHP folder, 14, 15 shows:

    Figure -

    Figure the

    Under PHP project, create a new php file named Info--info.php, open the file, and hit the following code:

    <?php
    Phpinfo ();

    ?>

    After clicking the Save button, look at the view in the side-by-side mode, and the message appears as shown:

    Figure -

    At this point, hbuilder PHP environment configuration has been successful.

  9. Add PHP Plugin

    Click Tools---> Plugins to install:

    Figure -

    Figure -

    Tick Aptana PHP plugin, click Install, then.

Hbuilder + PHP Development environment configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.