I got Apache, MySQL, PHP, PEAR and PHPUnit working on my local machine (I wanted to do things without xampp or wampserver). All fine (It seems!)

Before all this I had xampp, and coded PHP in Eclipse (installed PDT).

When I create a php page, and include "PHPUnit/Framework.php'" it finally work (because I never bothered with PEAR, I never bothered with include paths..that's working now).

Running this file in my localhost works fine. No errors, and the whole include_path thing seems to work out fine as the files above can be found without error.

But with the file open in Eclipse, doing a "Run As->PHP Script" return an error complaining the include cannot be found (and it state the path to be the path to the folder this script is in!).
So I got a feeling the php eclipse pdt or whatever have it's own include path or something like that?