Last active
August 29, 2015 13:56
-
-
Save rek/9342741 to your computer and use it in GitHub Desktop.
Compile APC extension for apache2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://pecl.php.net/get/APC-3.1.13.tgz | |
tar xvzf APC-3.1.13.tgz | |
cd APC-3.1.13 | |
/usr/local/bin/phpize-5.4 | |
./configure --with-php-config=/usr/local/php54/bin/php-config | |
make | |
cp modules/apc.so ~/.php/5.4/ | |
rm -Rf APC-3.1.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension = phar.so | |
suhosin.executor.include.whitelist = phar | |
extension = intl.so | |
extension = ~/.php/5.4/apc.so | |
apc.enabled=1 | |
apc.enable_cli=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment