I have tested this on a Debian Etch server where Apache2 and PHP5 are already installed and working.

host-colorpack.net:~/root#  apt-get install memcached php5-memcache

server1:~# netstat -tap | grep memcached
tcp        0      0 *:11211                 *:*                     LISTEN     3053/memcached
host-colorpack.net:~/root#

host-colorpack.net:~/root#  vi /etc/memcached.conf

[...]
# Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.
# -l 12.34.56.78
-l 127.0.0.1
[...]

host-colorpack.net:~/root#  /etc/init.d/memcached restart

... and run

netstat -tap | grep memcached

again. As you see, memcached is now listening on localhost only:

server1:~# netstat -tap | grep memcached
tcp        0      0 localhost.localdo:11211 *:*                     LISTEN     3092/memcached
server1:~#

Afterwards, we restart Apache so that our new PHP configuration takes effect:

/etc/init.d/apache2 restart



 

The Joomla! logo is a trademark of Open Source Matters, Inc, in New York, NY.
  Colorpack.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Valid XHTML 1.0 Transitional

เปิดร้านขายของ เสื้อผ้า onlie ฟรี aim star Clothing & Accessories | camping goods online | eShopping Cheap Product | canada plaza | Franais Plaza | bestseller | snowsport shops | best for babys | best book | Seo Jet |
Secured by Host Colorpack