I\'m trying to get PHPUnit working on my development environment but I\'ve hit a bit of a roadblock when it comes to including PHPUnit in my scripts. I know that I need to s
Add this line to your php.ini
:
include_path=".:/usr/share/php:/usr/share/pear:/usr/share/php/PHPunit:/usr/share/php/PEAR"
Save the file and restart apache.
Also, make sure you editing the correct php.ini
. Try using locate php.ini
to find all the places it might be hiding. It's usually under the /usr
directory somewhere.