User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

guides:install:pear_on_mac_osx_leopard_xampp [2016/04/16 16:12] (current)
michaelc ↷ Page name changed from guides:install:installing_pear_on_mac_osx_leopard_xampp to guides:install:pear_on_mac_osx_leopard_xampp
Line 1: Line 1:
 +XAMPP for Mac does come with PEAR but it is NOT configured.
 +**Update PEAR**
 +  sudo su
 +  cd /​Applications/​xampp/​xamppfiles/​lib/​php/​pear
 +  /​Applications/​XAMPP/​xamppfiles/​bin/​php pearcmd.php channel-update
 +  /​Applications/​XAMPP/​xamppfiles/​bin/​php pearcmd.php install PEAR
 +  /​Applications/​XAMPP/​xamppfiles/​bin/​php pearcmd.php install Log
 +  /​Applications/​XAMPP/​xamppfiles/​bin/​php pearcmd.php list
 +**add PEAR to the php.ini include_path**
 +Edit /​Applications/​XAMPP/​etc/​php.ini (include path is at the very end of the php.ini file)
 +   ​include_path="​.:/​Applications/​XAMPP/​xamppfiles/​lib/​php/​pear"​
 +**To install a package**
 +   sudo su
 +   cd /​Applications/​XAMPP/​xamppfiles/​lib/​php/​pear
 +   /​Applications/​XAMPP/​xamppfiles/​bin/​pear install pear/​PACKAGE_NAME
guides/install/pear_on_mac_osx_leopard_xampp.txt · Last modified: 2016/04/16 16:12 by michaelc