Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:lsmcd:install-memcached [2020/06/23 12:45] Jackson Zhang [For Native LSWS Environment] |
litespeed_wiki:lsmcd:install-memcached [2020/06/23 12:55] Jackson Zhang [For Native LSWS Environment] |
||
---|---|---|---|
Line 71: | Line 71: | ||
====For Native LSWS Environment==== | ====For Native LSWS Environment==== | ||
- | PHP memcached packages are pecl packages and named ''lsphpxx-pecl-memcached'' in LiteSpeed Repo. | + | PHP memcached packages are pecl packages and named ''lsphpxx-pecl-memcached'' for CentOSs or ''lsphpxx-memcached'' for Debian and Ubuntu in LiteSpeed Repo. |
+ | |||
+ | For Centos: | ||
<code>yum install lsphp56-pecl-memcached lsphp70-pecl-memcached lsphp71-pecl-memcached lsphp72-pecl-memcached lsphp73-pecl-memcached lsphp74-pecl-memcached</code> | <code>yum install lsphp56-pecl-memcached lsphp70-pecl-memcached lsphp71-pecl-memcached lsphp72-pecl-memcached lsphp73-pecl-memcached lsphp74-pecl-memcached</code> | ||
+ | |||
+ | For Debian and Ubuntu: | ||
+ | <code>apt-get install lsphp70-memcached lsphp71-memcached lsphp72-memcached lsphp73-memcached lsphp74-memcached</code> | ||
And then graceful restart LSWS and restart detached lsphp by ''killall lsphp'' or ''pkill lsphp''. | And then graceful restart LSWS and restart detached lsphp by ''killall lsphp'' or ''pkill lsphp''. |