PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Does anyone know what this error means in PHPEclipse?
An internal error occurred during: "Launching".
java.lang.RuntimeException: Unable to execute interpreter: "C:\Apache2\htdocs\gallery/includes/writer.php" D:\My Documents\eclipse\workspace
net.sourceforge.phpdt.internal.launching.InterpreterRunner.run(InterpreterRunner.java:33)
net.sourceforge.phpdt.internal.launching.PHPLaunchConfigurationDelegate.launch(PHPLaunchConfigurationDelegate.java:48)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Using eclipse 3.0.1, the latest 1.4 version (I think) of PHPEclipse pluggin, PHP5 and apache 2.0.54. I get this error when I try to run the file I'm working on. I've checked the interpreter and it see,s to be set to the PHP executable but from the error it looks like it using the php file as an interpreter. Does anyone have any ideas?
it appears that interpreter is not set to an valid path, but since you said you've checked it, i guess you should just install a clean version of PHPEclipse and hope for the best ...
That was the problem, the path to php was set incorrectly (recycled eclipse from an earlier installation) Path set correctly and eclipse is behaving itself