I just installed openSUSE 11.4 (KDE) and in setting up my work environment, had some trouble. I use Komodo for my scripting IDE and the PHPUnit tests would not run. I had installed PHPUnit via the official method but no go.
PHP Warning: require_once(PHPUnit/Framework.php): failed to open stream
Thanks to this post, I realized I had forgotten to set the memory limit in php.ini. PEAR was literally running out of memory getting the PHPUnit files, leaving me with a partial installation every time.
The other thing I ran into after installing PHPUnit successfully was an error stating that the interface PHPUnit_Framework_Test was missing. Since it was a complete install, this was very odd. Luckily I found this post (about Joomla but applicable in my case too):
Evidently they made some changes in PHPUnit version 3.5 and it doesn’t currently work with the Joomla! tests. I would recommend uninstalling
version 3.5 and installing version 3.4.15 as indicated in the instructions.
After removing the PEAR packages and reinstalling the 3.4.x version all was well!
sudo pear install --alldeps phpunit/PHPUnit-3.4.15