troubleshooting Question

How do I run PHP in Eclipse using WAMP

Avatar of anAppBuilder
anAppBuilderFlag for United States of America asked on
PHPMySQL ServerEditors IDEs
9 Comments1 Solution9252 ViewsLast Modified:
Using WampServer 2.1, Eclipse Indigo on Win 7 64 bit.  php_xdebug-2.1.0-5.3-vc9-x86_64.dll is C:\wamp\bin\php\php5.3.4\zend_ext where it was installed by WAMP.

If I click on a script and
o Run as PHP script, it tells me that the current debugger has no PHP executables.
o Run as web page I get "This program cannot display the webpage"

There is a PHP executable path set to C:\wamp\bin\php\php5.3.4\php.exe with the debugger set to XDebug.

I have edited the Apache httpd.config to point to my Eclipse workspace--see code.  My workspace is on D: because C: is a small SSD.

Suggestions very welcome.
In httpd.config I added this right at the end before Include "c:/wamp/alias/*"

# Map the address http://localhost/workspace to my workspace directory
Alias /workspace “D:\Users\<my name>\workspace”
<Directory “D:\Users\<my name>\workspace”>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros