Skip to content
This repository
tree: 6c86a8bcdc
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 14 lines (13 sloc) 0.282 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/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
Something went wrong with that request. Please try again.