Installing Memcached on Fedora and adding it as a PHP module is fairly simple using the console.
Step 1: Install Memcached
yum install memcached
Step 2: Install Memcache PECL module for PHP
yum install php-pecl-memcache
Step 3: Restart Apache
service httpd restart
Step 4: Run the Memcached Daemon
service memcached start
Once finished, you should be able to access memcache-related functions and utilities. You can check the memcache entry in the phpinfo() page which verifies that it has been successfully installed as PHP module.
For more information on how to use the Memcache Class provided by the Memcache PECL module, visit the following link: http://www.php.net/manual/en/book.memcache.php
2 comments:
memcache is good, but i think APC now is more better, i think it is included in PHP6, id go with APC.
great blog .. explanation are very clear and step by step so easy to understand..
php training | php training in chennai | best php training | best php training in chennai
Post a Comment