Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6c86a8bcdc
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (13 sloc) 0.282 kb
#!/bin/bash
wget "http://pecl.php.net/get/APC"
tar -xzf APC
cd APC-*
phpize
./configure
sudo make install
INI_DIR=`php --ini | grep "Scan for additional" | sed -e "s|.*:\s*||"`
INI_FILE="$INI_DIR/apc.ini"
echo "extension=apc.so
[apc]
apc.enabled = 1
apc.enable_cli = 1" > $INI_FILE
Jump to Line
Something went wrong with that request. Please try again.