2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MAMP memcache install

Posted at

久しぶりにMAMPを最新にアップデート
http://www.mamp.info

ls /Applications/MAMP/bin/php
_php5.6.2/ php5.1.6/ php5.2.17/ php5.3.29/ php5.4.34/ php5.5.18/

のように新しい物をリネームしとけば自動的に最新2つがMAMP settingからの選択肢になるのでPHPバージョンの切り替えに便利。

各バージョンへのmemcacheインストールのメモ
cd /Applications/MAMP/bin/php/php5.4.34
mkdir include
cd include
wget http://pa1.php.net/get/php-5.4.34.tar.gz/from/this/mirror
tar xvzf php-5.4.34.tar.gz
mv php-5.4.34 php
cd php/ext
/Applications/MAMP/bin/php/php5.4.34/bin/pecl download memcache
tar xvzf memcache-2.2.7.tgz
cd memcache-2.2.7
/Applications/MAMP/bin/php/php5.4.34/bin/phpize
cd ../..
./configure
cd ../../bin
./pecl i memcache

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?