Memcached: page 1
An Excellent Development Server for a Team of Developers
Introduction When working in a team it is very useful to have a central web server with multiple environments and a configuration as close to the live server as possible. This can be a bit of a nightmare though if you need to setup a new VirtualHost container in Apache every time a new project is brought on or when a developer wants to work on a version of the site in their own environment. Read more ⇒
Memcached and APC: Two Simple Techniques to Speed up your PHP Webpages
Memcached and APC are two tools that you can install on your server and gain almost instant gratification! APC basically caches executions that you send to a PHP process so that the next time you ask the parser to run your script it only has to look for some pre-chewed opcode in memory rather than parsing your PHP from the disk. APC also has another feature up its sleeve, memory object caching, which allows you to store objects such as results from a database table in memory. Read more ⇒
Installing APC and Memcached for PHP Sessions on Ubuntu and Debi…
Installing APC on Debian or Ubuntu is as simple as: **user@server:/directory/$** sudo apt-get install php-apc Now let us reboot the Apache process to enable our new cache: **user@server:/directory/$** sudo /etc/init.d/apache2 restart APC should now be ready to run on your server. Try running the following command to verify it is setup; you should get something in response like mine: **user@server:/directory/$** php -r ‘phpinfo();’ | grep ‘apc’ apc MMAP File Mask => /tmp/apc. Read more ⇒
Installing APC and Memcached for PHP Sessions on Redhat
Installing APC on Redhat is as simple as: [user@server directory]# yum install php-pecl-apc APC should now be ready to run on your server. Try running the following command to verify it is setup; you should get something in response like mine: [user@server directory]# php -r ‘phpinfo();’ | grep ‘apc’ apc MMAP File Mask => /tmp/apc.s5jA6w apc.cache_by_default => On => On apc.coredump_unmap => Off => Off apc.enable_cli => On => On apc. Read more ⇒