2013-06-26 29 views
2

我在我的ubuntu 12.04操作系統上安裝了xampp 1.8.0。它已成功安裝。 但我想啓用梨和phpunit。我可以在/ opt/lampp/lib/php/PEAR和/ opt/lampp/lib/php/PHPUnit 可以看到pear和phpunit目錄。但是如果我從終端運行pear -v如何在linux的xampp中啓用pear和phpunit?

The program 'pear' is currently not installed. You can install it by typing: 
sudo apt-get install php-pear 

請幫助我在xampp中啓用pear和phpunit。

在此先感謝

回答

1

添加/opt/lampp/lib/bin/$PATH