Technology Programming

How to Configure WAMP With Eclipse IDE for PHP

    • 1). Download the latest version of the WAMP server to a directory on your computer. Double-click the "WampServer2.0h.exe" file to install the server. After you install the utility, a tray icon displays in the system tray.

    • 2). Double-click the WAMP icon in the system tray. A configuration window opens. Click "Start All Services" in the window. The WAMP service launches, which lets you host the PHP development environment.

    • 3). Open a second browser tab and download the Zend debugger plug-in. This plug-in installs on the Eclipse environment. It allows you to run the PHP development service in the Eclipse software. Double-click the EXE file to install the plug-in.

    • 4). Open the WAMP configuration window and click "PHP." Click "php.ini" in the list of options. This is the PHP file for configuring the PHP hosting environment. Add the following lines to the file:

      [Debugger]
      zend_extension_ts=C:/wamp/eclipse/plugins
      /org.zend.php.debug.debugger.win32.x86_5.2.15.v20081217
      /resources/php5/ZendDebugger.dll
      zend_debugger.allow_hosts=127.0.0.1, 192.168.0.2
      zend_debugger.expose_remotely=always

    • 5). Launch the Eclipse software and open your PHP Web project. Click "Run As," then click "PHP Web Page." The debugger runs in the Eclipse debugger, so you can test and review your PHP code.



Leave a reply