"Dave" <email@example.com> wrote in message
>I am glad this forum is titled 'Newcomers'... 'cause that's what I am...
> I am using Fedora Eclipse 3.4.1 for the first time on FC10. I followed the
> tutorials to make my first PHP project and first PHP file in that project.
> I added one line of code and saved it.
> echo "Hello World!";
> then I made a Run Config (to the best of my ability) and when I run my
> file I get the error:
> Could not open input file: tsm.php
Is it possible that it is looking for the file in a different directory than
where you saved it? Try specifying the working directory in the run config.
That was it alright... on the Run Config Arguments tab, the Working Directory was set to the default dir, which was the 'workspace' directory just above the dir my project was in. When I fixed that, I got not only a run, but a debug! Debugging PHP is the whole reason I am investigating a move to Eclipse. Very happy to see it running.
It seems odd... why would Ecplise make the run config for a project default to a directory other than the dir the project is in? I understand why you would want to be able to change it, but the default value should be the dir where the project was created... imho.