Page 1 of 1

How to enable pear and phpunit in xampp on linux ?

PostPosted: 23. June 2013 17:03
by enamul
Hello All,

I am new to apachefriends. Just registered few minutes earlier.

Now straight to my question.

I have installed xampp 1.8.0 on my ubuntu 12.04 OS. It installed successfully.
But I want to enable pear and phpunit. I can see there are pear and phpunit direstories respectably /opt/lampp/lib/php/PEAR and /opt/lampp/lib/php/PHPUnit
But If I run pear -v from terminal, it says that "The program 'pear' is currently not installed. You can install it by typing:
sudo apt-get install php-pear"

Please help me enabling pear and phpunit in xampp.

Thanks in advance