score:0
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.
#!/usr/bin/php
<?php
//.....rest of your file
?>
score:0
other possibilities:
-make sure the file has focus in the editor when 'run as'
-check project specific settings
score:0
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.
score:0
try running as web page, since if you have php it implies you have apache, so eclipse will only open the url for you
score:2
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.
Source: stackoverflow.com
Related Query
- Why won't eclipse run my php file?
- How to tell Eclipse what file to run in a PHP project?
- Runnable jar file generated with java eclipse wont run when double clicked
- why does my java code run in eclipse but not as an .exe. or .class file
- How to run php file in eclipse juno
- Why does the .apk file in eclipse keep disappearing when i run it
- Eclipse Run button doesn't work when Android xml file is selected
- How to run a jar file in Eclipse
- Making Eclipse view different file extensions as PHP
- How do I run an Eclipse launcher file in IntelliJ IDEA?
- Why is Eclipse hanging at 57% with the status "Verifying launch attributes..." when launching a run configuration?
- Why Eclipse doesn't show local variables values when I debug class file from JDK?
- Specifying a custom log4j.properties file for all of JUnit tests run from Eclipse
- Run Eclipse save actions on every file in a project
- Why is my Eclipse launch configuration not being added to the Run or Debug configurations list?
- Why might Eclipse fail to show "Ant Build" in the run options for an Ant build file?
- Why can't I save file in Eclipse Juno?
- Eclipse Php : variable undefined evenif it is defined in an require_once php file
- Redirect stdin from a file in eclipse with run configuration
- Why is Eclipse PHP not recognizing namespace declarations?
- how to run php script in eclipse
- Eclipse wont let my app run
- Why would eclipse not show search results inside file in results list?
- Why does Eclipse generate .class file if there is a syntax error in my Java source file?
- When synchronizing in eclipse pdt - getting a blank gray window when comparing versions of a php file
- PHP Eclipse live file editing or FTP
- why I cannot use "run Android lint" from menu "Window" in Eclipse in toolbar I can run it, is it OK?
- Eclipse and Maven: Run goal after a file is changed
- Run batch file after each build in eclipse
- Run APK file in Eclipse
More Query from same tag
- Problems creating classes in eclipse
- Groovy/Grails Tool Suite (Eclipse based IDE) has big problems with deadlocks
- Lombok inheritance and Eclipse
- Performance difference when running same Java code Windows vs Unix
- Unable to install Pydev through Eclipse 3.7.2
- Windows Azure project not found in Eclipse
- Integrating a Java Class into a PyDev Project (Jython) in Eclipse
- "Application has stopped" when filling ListView
- Showing errors in Eclipse but program is runing
- Android Eclipse - Button that creates another button on click
- How to import a project into eclipse downloaded from developer.android.com zip file
- Error .gwt.xml Vaadin
- I have an issue with the following Java code on eclipse (unreachable code)
- Cannot change version of project facet ear to 1.3 maven error in eclipse?
- Unable to import cloned projects into eclipse
- Rearrange docs in Eclipse IDE
- How to select the jtable row using Eclipse
- Reload Android application in emulator without restarting emulator in Eclipse?
- Cannot find locci, lclnths, lboost_regex while compiling
- How to configure server-side authentication in CDO 3.0 or above?
- How do I add another activity in the main .java file
- Adding a resizable Text to Eclipse toolbar
- can I use Android phone without service to test app
- Applets not working in Browser
- eclipse Platform.getOS/getV throwing exception
- How to use javap with eclipse?
- What is product ID in Eclipse plugin?
- How to view a longer code revision history in Eclipse
- how do I add open source API code to an eclipse project?
- PropertyReader not finding file in Eclipse