Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:lsmcd:use_case [2016/04/06 16:27] 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> | ||
Line 38: | Line 38: | ||
- | Do you need to change “memcached” to “LSMCD”? Absolutely not. The above setup will make Magento stores call “LSMCD” directly. The same syntax makes LSMCD work out of your existing box if you have setup memcached for your applications. | + | Do you need to change “memcached” to “LSMCD”? Absolutely not. The above setup will make Magento stores call “LSMCD” directly. The same syntax makes LSMCD work out of your existing box if you have setup Memcached for your applications. |