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开发者_JS百科 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".
- 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 http://www.phpfacile.com/images/eclipse_pdt/eclipse-pdt_no-PHP-executables-defined_540x148_en_64c.png
you need to one (PHP executable) through the preferences:
alt text http://www.phpfacile.com/images/eclipse_pdt/eclipse-pdt_preferences_php-executables_en_530x378_64c.png
, like C:\wamp\bin\php\php5.2.8\php.exe
sous Wamp.
alt text http://www.phpfacile.com/images/eclipse_pdt/eclipse-pdt_new-php-executable_en_337x200_128c.png
Check also the coherence with the debug settings:
alt text http://www.phpfacile.com/images/eclipse_pdt/eclipse-pdt_preferences_php-debug_en_500x372_128c.png
精彩评论