How to Configure WAMP With Eclipse IDE for PHP

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

WAMP is a Windows application that lets you create PHP websites with a MySQL back-end database. This setup is used on a Linux environment and an Apache Web host. WAMP lets you develop and test PHP websites without installing the Linux operating system. WAMP works with the Eclipse developing software, which is an application for building PHP and Java software.


Step 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.

Video of the Day

Step 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.


Step 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.

Step 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=, zend_debugger.expose_remotely=always

Step 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.



references & resources

Report an Issue

screenshot of the current page

Screenshot loading...