Hi,
It's not quite clear what you are trying to do. The "which" command shows the location of commands, not directories.
Based on your inclusion of the php.ini include_path, I'm guessing the real problem might be that you can't load PHPUnit from one of your PHP scripts? If so, it looks like the include_path might be wrong. The value shown ("./usr/share/pear") is a relative path, which will only work if the PHP executable is running from the root directory. The default path should include "." and the path to PEAR, so just commenting out this stanza should solve the problem. If not, try setting it to ".:/usr/share/pear" (note the colon). See
http://php.net/include-path for more details.
Regards,
Clifford