본문 바로가기

FreeBSD/PHP

memcached


1. cd /usr/ports/databases/memcached; make ; make install

2. vi /etc/rc.conf, and add memcached_enable="YES"

3. /usr/local/etc/rc.d/memcached start

4. run "netstat -an" to check that a process is listening on TCP 11211

5. cd /usr/ports/databases/pecl-memcache ; make ; make install

6. /usr/local/bin/php -i | grep -i 'memcache'

7. Play with memcached in PHP scripts

'FreeBSD > PHP' 카테고리의 다른 글

eAccelerator  (0) 2010.07.29
Installing PHP 5 on FreeBSD  (0) 2009.03.12