Skip to content

Instantly share code, notes, and snippets.

@chobie
Created April 18, 2012 21:04
Show Gist options
  • Save chobie/2416534 to your computer and use it in GitHub Desktop.
Save chobie/2416534 to your computer and use it in GitHub Desktop.
installing php-git
sudo aptitude install build-essential automake cmake patch git-core php5-cli php5-dev libpcre3-dev -y
git clone https://github.com/libgit2/libgit2.git
cd libgit2
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --build . --target install
cd ../../
git clone https://github.com/libgit2/php-git.git
cd php-git
phpize
./configure
make test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment