Created
February 19, 2015 21:31
-
-
Save kenzo0107/dbcb15cbda2f3f85da27 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
cd ~/Downloads | |
# memcache ダウンロード | |
wget http://pecl.php.net/get/memcache-2.2.4.tgz | |
tar -zxvf memcached-2.2.4.tgz | |
cd memcached-2.2.4 | |
# コンパイル | |
phpize && ./configure --enable-memcache && make | |
# php5.3.6 | |
cp modules/memcache.so /Applications/MAMP/bin/php/php5.3.6/modules/memcache.so | |
# php.ini編集 | |
vim /Applications/MAMP/bin/php/php5.3.6/conf/php.ini | |
[memcache] | |
extension="/Applications/MAMP/bin/php/php5.3.6/modules/memcache.so" | |
# MAMP 再起動しphpinfoで[memcache]項目確認 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment