How to Configure WAMP With Eclipse IDE for PHP
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.
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.
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.
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.
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.dllzend_debugger.allow_hosts=127.0.0.1, 192.168.0.2zend_debugger.expose_remotely=always
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.