this is a shot in the dark, but try putting the shebang line in at the top of your file. proper shell scripting dictates that it needs to be there, and eclipse/pdt might care.

// of your file


other possibilities:

-make sure the file has focus in the editor when 'run as'

-check project specific settings


also try to right-click not a file in a file structure tree, but the very source code of this file and select the same.


try running as web page, since if you have php it implies you have apache, so eclipse will only open the url for you


from you console, i see that you have php installed from zend engine product. you need to configure php executables in window->preferences->php->php executables. difine right path of php and php.ini files in the form.

Related Query

More Query from same tag