diff --git a/.gitignore b/.gitignore index cf615c6e..0a0bafa3 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,12 @@ Debug_TS Makefile Makefile.fragments Makefile.objects +Makefile.global +acinclude.m4 +build/ +configure.in +ltmain.sh +run-tests.php Release Release_TS Release_TSDbg diff --git a/README.md b/README.md index a89c553f..399dce8c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,30 @@ See [APCu Backwards Compatibility Module](https://github.com/krakjoe/apcu-bc) wh [![Build Status](https://travis-ci.org/krakjoe/apcu.svg?branch=master)](https://travis-ci.org/krakjoe/apcu) [![Build status](https://ci.appveyor.com/api/projects/status/om63glh4g24gi1p9/branch/master?svg=true)](https://ci.appveyor.com/project/krakjoe/apcu/branch/master) + +Installation +============ + +#### While compiling PHP from source :- + +compile php with the `--enable-apcu` option + +#### Install APCu with pecl :- +``` +$ pecl install apcu +``` + +#### Manually install APCu :- +``` +$ git clone https://github.com/krakjoe/apcu.git +$ cd apcu +$ git submodule sync && git submodule update --init +$ phpize +$ ./configure +$ make +$ sudo make install +``` + Documentation ============