Installing memcached to use it with php
February 14, 2015
· admin
Ubuntu 11.10
Unix
Ubuntu 11.04
Ubuntu
Ubuntu 12.04
memcache
PHP
apache
Ubuntu 14.04
Installing Memcached with php support in Ubuntu is a matter of a few steps:
sudo apt-get install memcached php5-memcached
sudo service apache2 restart
You can test if memcached is active by running this command:
echo "stats settings" | nc localhost 11211
You will end up with a response like this one:
> STAT maxbytes 67108864
> STAT maxconns 1024
> STAT tcpport 11211
> STAT udpport 11211
> STAT inter 127.0.0.1
> ...
> STAT item\_size\_max 1048576
> STAT maxconns\_fast no
> STAT hashpower\_init 0
> STAT slab\_reassign no
> STAT slab\_automove 0
> END
Script listing all the keys on a memcache server
March 21, 2013
· admin
Ubuntu 11.10
Unix
Ubuntu 11.04
Ubuntu
Ubuntu 12.04
memcache
This script lists all the keys on a memcache server.
Tags
- All
- 3D Printing
- ABS
- Android
- apache
- Arduino
- ARPI600
- ASUS
- automation
- Battlefield
- Blogroll
- Certificate
- Chrome
- Cree
- Cura
- Database
- Debian
- Eclipse
- Electronic Component
- ESP8266
- Firewall
- Games
- GCode
- General
- GIT
- GitHub
- GO2NFC
- Handbrake
- Hardware
- Internet of Things
- IoT
- Java Applets
- Linux
- MAC OS X
- Management
- Mantis
- Marlin
- memcache
- Mountain Lion
- MySQL
- Networking
- NodeMCU
- NVIM
- object
- Octoprint
- openssl
- Photos
- PHP
- phpMyAdmin
- PN532
- postfix
- Prusa Mendel
- Ralink
- Raspberry PI
- RaspberryPI
- Raspbian
- Router
- RT5572
- SSH
- STM32
- Tomcat
- Trinket
- Ubuntu
- Ubuntu 11.04
- Ubuntu 11.10
- Ubuntu 12.04
- Ubuntu 14.04
- Ubuntu 15.04
- Ubuntu 20.04
- Unity
- Unix
- Video
- Virtual Box
- Wheezy
- WiFI
- Windows
- Windows 8
- Wink
- WordPress