Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:lsmcd:use_case [2016/04/14 14:13] Rob Holda |
litespeed_wiki:lsmcd:use_case [2016/04/14 14:15] (current) Rob Holda |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LSMCD Usage Example ====== | ====== LSMCD Usage Example ====== | ||
- | LSMCD can be used the same way you would use memcached. Instead of installing memcached, install LSMCD according the steps mentioned above. | + | LSMCD can be used the same way you would use Memcached. Instead of installing Memcached, install LSMCD according the steps mentioned on our [[litespeed_wiki:lsmcd:installation|installation page]]. |
You should have PHP configured for your web server (this can be any web server, not just LiteSpeed Web Server). Also the php-memcached pecl extension should be installed and enabled in PHP. | You should have PHP configured for your web server (this can be any web server, not just LiteSpeed Web Server). Also the php-memcached pecl extension should be installed and enabled in PHP. | ||
- | To use LSMCD, you can use the same syntax as memcached in applications. | + | To use LSMCD, you can use the same syntax as Memcached in applications. |
- | For example, to enable memcache for a Magento store, you will need to add a **<cache></cache>** section within your **<global></global>** section in "app/etc/local.xml". Something like the following: | + | For example, to enable Memcached for a Magento store, you will need to add a **<cache></cache>** section within your **<global></global>** section in "app/etc/local.xml". Something like the following: |
<cache> | <cache> |