So I checked the following and I read the PEAR manual but still I'm having this error. Phing error when using gitclone - Git tasks depend on PEAR\'s VersionControl_Git package
The php.ini I use is /Applications/MAMP/bin/php/php5.6.2/conf/php.ini
I modified the include_path to the following:
include_path = ".:/Applications/MAMP/bin/php/php5.6.2/lib/php:/Applications/MAMP/bin/php/php5.6.2/bin/pear"
/Applications/MAMP/bin/php/php5.6.2/lib/php
was already in the includes path so I added the pear path. I also used /usr/local/bin/pear
but still no luck ... so I have no idea what path I actually have to put in.
$ pear list-files versioncontrol_git
Installed Files For versioncontrol_git
======================================
Type Install Path
php /usr/share/php/VersionControl/Git/Object/Blob.php
php /usr/share/php/VersionControl/Git/Object/Commit.php
Use the path of php
files before VersionControl
- in my case, the include path is /usr/share/php/
.