user1559230
user1559230

Reputation: 2811

How to enable pear and phpunit in xampp on linux?

I have installed xampp 1.8.0 on my ubuntu 12.04 OS. It is installed successfully. But I want to enable pear and phpunit. I can see there are pear and phpunit directories respectably at /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

Upvotes: 2

Views: 1365

Answers (1)

cweiske
cweiske

Reputation: 31078

Add /opt/lampp/lib/bin/ to your $PATH.

Upvotes: 1

Related Questions