Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add installation tips to README.md #251

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
============

Expand Down