473,388 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

[FreeBSD 6.3/PHP5] Installing MemCacheD?

Hello

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 4129
On Sun, 30 Mar 2008 01:44:10 +0100, Gilles Ganault <no****@nospam.com>
wrote:
>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
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
Mar 30 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: somaBoy MX | last post by:
I'm planning on installing the PHP5 RC1 on my local machine as a testing server. Are there any particulars I should be aware of for all my PHP4-developed applications to keep working? Or should the...
3
by: Scott Matthews | last post by:
Hey all, I just tried installing PHP5 under IIS for the first time, but I can't seem to get the php.exe to work. I unzipped the package, and pointed the IIS .php 'executable' attribute over...
1
by: Mike | last post by:
Last weekend I decided to install Apache 2.0.53-win32-x86-no_ssl PHP 5.0.3 Smarty 2.6.7 MySQL essential-4.1.10-win32 I have Apache up (Port 80 blocked at the router and firewall!) and I have...
4
by: james | last post by:
I have a problem installing Pyhton 2.4.3, running "./configure --with-threads=no" completes, but gives the warning: configure: WARNING: curses.h: present but cannot be compiled configure:...
1
by: gp | last post by:
I'm running FreeBSD 6.1....Apache 2.2 and im working on upgrading to php5.2.0....with ports... my issue is the extensions like JSON and PDO which were supposed be wrapped up in 5.2....i've...
3
by: surfivor | last post by:
I understand that memcached can store objects on different servers using hashing, and I've seen typical things such as storing query results. Say at line 100 in module 'A', I want to render some...
2
by: Ruslan A Dautkhanov | last post by:
Hello ! I'm about to install O9i on FreeBSD box. uname -a: FreeBSD stat2.scn.ru 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #2: Fri Apr 23 19:19:43 KRAST 2004...
3
by: bigqiang | last post by:
Memcached is a high-performance, distributed memory object caching system. its website is http://www.danga.com/memcached/ . How to use Memcached in Classic Asp? Help thanks .
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.