469,927 Members | 1,868 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

[FreeBSD 6.3/PHP5] Installing MemCacheD?


I'd like to play with MemcacheD and see how it improves read access
to data, but I'm a bit lost at how to get from a working Apache2 +
PHP5 + MySQL5 server on FreeBSD 6.3.

I've never used PECL and PEAR before, and they seem required to
install MemcacheD.

I just ran "make config ; make ; make install" to build the php5 and
php5-extensions ports. If it helps, according to phpinfo(),
apache2handler has mod_mem_cache loaded.

Could someone tell me what to do from here?

Thank you.
Mar 30 '08 #1
1 4002
On Sun, 30 Mar 2008 01:44:10 +0100, Gilles Ganault <no****@nospam.com>
>Could someone tell me what to do from here?
Got it working without really knowing what I was doing :-)

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
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
Mar 30 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by somaBoy MX | last post: by
3 posts views Thread by Scott Matthews | last post: by
1 post views Thread by gp | last post: by
3 posts views Thread by surfivor | last post: by
2 posts views Thread by Ruslan A Dautkhanov | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.