How to set up a PHP debugging environment in Eclipse

Updated on technology 2024-03-27
6 answers
  1. Anonymous users2024-02-07

    First, install and configure the Apache and PHP environments.

    Not much to say about the installation, Apache is an MSI file, PHP just unzip it.

    The configuration is annoying, and the steps are as follows:

    1.1) extension_dir = "./"Modified to extension dir ="c:

    2) ;extension=php and "; extension=php, remove the previous semicolon, i.e. put ; Extension=php to extension=php ; Extension=PHP to Extension=PHP 3).Save it, and then start apache again

    2.Modify the apache conf and add :at the end of the file

    phpinidir "c:/"

    Add :

    c:\;c:\

    After the above configuration, create a PHP test file in the Apache htdocs directory as follows:

    code restarts apache.

  2. Anonymous users2024-02-06

    The advantage of this is that all PHP projects share an Apache configuration (see below how to set it up).

    2) Configure eclipse:

    Open eclipse->window->preferences->php:

    Note that workspace is added to the URL field, which is the directory alias added in.

    At this point, the configuration is complete.

    Remember to restart Apache again.

    Finally, build a test program and see how it works

    Create a new PHP project named FirstPHPTEST, using our E:EclipSeWorkspace as the Eclipse workspace directory.

    Create a new PHP file in your project, e.g. using the one above.

    That's it, rest, rest.

  3. Anonymous users2024-02-05

    MySQL is OK and Apache is OK

    Create a project and then create a page directly in it, it's OK, I think it's better to eclipse.

    It's not interesting to integrate! You tell me?

  4. Anonymous users2024-02-04

    Use wampserver, configured, and open it on the web.

  5. Anonymous users2024-02-03

    Step 4: Copy the contents of Features and Plugins to the corresponding folder in Eclipse, and you can copy them to the root directory of Eclipse. Then start Eclipse (or restart Eclipse if it is already started, restart Eclipse for the newly added file to take effect).

    Step 6: In the "Open Perspective" window, find the "PHP" option and double-click on it, a PHP view will be added to Eclipse.

    Step 7: After adding successfully, you will see the view option of "PHP" in the upper right corner of Eclipse, click the button to switch Eclipse to PHP view.

    Step 8: Select "Window>>Preferences" in Eclipse, and click "phpeclipse>>PHP external tools" in the left menu bar of the pop-up preferences window to modify the PHP configuration information. At the same time, it was found that there are three submenus under "php external tools":

    Apache, MySQL, and Xampp: you can set the configuration information of Apache, MySQL, and Xampp.

    Step 9: Click the "Apache" submenu to modify the Apache configuration information. Modify the apache path to the native installation path. The modified sample is shown in the figure, and the specific value is subject to your own computer.

  6. Anonymous users2024-02-02

    Eclipse is just a tool. Just create a new project with Eclipse and import PHP**.

    You can install an EPP4 device. EPP4 is a modified version of Eclipse.

Related questions
9 answers2024-03-27

Adding the Eclipse plug-in is easy, but once you open Eclipse, click Help ->Install New Software....Then click add will come out of an add site window,Here name enter android (just take one yourself),Enter the network address of the plugin in location: >>>More

2 answers2024-03-27

First of all, let's talk about PhoneGap.

PhoneGap is a cross-platform open-source mobile web application development framework based on HTML5 standards. It allows users to access local applications, APIs, and applications of mobile devices through web technologies. >>>More

11 answers2024-03-27

Unzip and copy to the eclipse directory. Restart the eclipse directory. Select the project with the mouse, then right-click and select properties to indicate that the installation is successful. >>>More

12 answers2024-03-27

How to use Eclipse to automatically generate getters, setters, and constructors. >>>More

8 answers2024-03-27

Upstairs is already very detailed, be sure to install an overload limiter and a floor caller for your construction elevator, which can not only facilitate construction and improve efficiency, but more importantly, it is safer Construction elevator overload limiter, choose Beijing Hengmei***, **low, the most professional! Be your go-to brand!