最終更新:2009-11-19 (木) 05:40:22 (5270d)  

PHP/Memcache関数
Top / PHP / Memcache関数

PHP用のmemcached用のクラス群。mgetとかはサポートして無い・・・と思ってたらgetの引数に配列を渡せばいいっぽい。

メモ

memcache 拡張モジュールを使用するには、PHP 4.3.3? 以降が必要です。

Windows

Windows installation is a bit more tricky since "pecl install memcache" does NOT work properly.

Here's how I installed it:
1/ Download pecl-5.2-dev.zip (choose the version relevant to your PHP) from http://snaps.php.net/
2/ Copy php_memcache.dll from the archive you've downloaded to your PHP extention folder.
3/ Add the following line to php.ini (in the exntentions section):
extension=php_memcache.dll
4/ Restart your server
5/ Check with phpinfo() that you now have a memcache section

関連