views:

167

answers:

1

I have installed Eclipse PDT All-In-One and nothing works (I can edit PHP source but cannot execute any PHP Scripts).

Do I also need to install my own PHP interpreter? Do I need XAMPP? WAMP? Cygwin? XDebug? Zend?

I'm looking for the smallest amount of stuff that I need to install to get a working PHP IDE, starting with an empty install of Windows Vista.

I have tried installing XAMPP and setting PHP Executable, but that doesn't work.

Still getting "No PHP executables defined".

A: 
  • Eclipse PDT all in one
  • PHP
  • a web server (XAMPP for instance) (as mentioned by Phill Pafford in the comments: " XAMPP comes with PHP so no need to install another instance of it")
  • a debugger (XDebug or Zend)

BUT: once PDT is installed, to avoid the error message:

alt text

you need to one (PHP executable) through the preferences:

alt text

, like C:\wamp\bin\php\php5.2.8\php.exe sous Wamp.

alt text

Check also the coherence with the debug settings:

alt text

VonC
I did all the above, but with XAMPP 1.7.3 not WAMP. Xdebug has 8 versions to choose from, so I decided to skip that trial-and-error nightmare. It looks like http://downloads.zend.com/pdt/all-in-one/zend-eclipse-php-galileo-SR1-win32-x86.zip already comes with Zend Debugger, so I chose that. But still this doesn't work.
Alex R
@Alex: that leaves us with your launching configuration. If your settings are correctly set in the PHP proferences, you shouldn't see a "No PHP executables defined" unless, somehow when launching your debug session, you are not using those settings.
VonC
XAMPP comes with PHP so no need to install another instance of it
Phill Pafford
Also Aptana (Which is Eclipse based) is another free IDE for PHP (And other) development
Phill Pafford
I installed Aptana, and didn't really notice any difference.
Alex R