Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:lsmcd:install-memcached [2018/08/14 15:25]
qtwrk
litespeed_wiki:lsmcd:install-memcached [2018/11/28 21:59]
Jonathan Kagan
Line 21: Line 21:
 systemctl enable memcached</​code>​ systemctl enable memcached</​code>​
  
 +=== For Ubuntu/​Debian ===
 +<​code>​apt-get install memcached
  
 +systemctl start memcached
 +
 +systemctl enable memcached</​code>​
 ==== Verify Memcached or LSMCD Daemon ==== ==== Verify Memcached or LSMCD Daemon ====
  
Line 131: Line 136:
  
 If you have further issues installing the extension on cPanel, please contact [[https://​cpanel.com/​support/​|cPanel support]]. If you have further issues installing the extension on cPanel, please contact [[https://​cpanel.com/​support/​|cPanel support]].
 +
 +====Direct Admin====
 +
 +===PHP7.0/​7.1/​7.2===
 +
 +<​code>​yum install -y libmemcached-devel
 +
 +/​usr/​local/​php70/​bin/​pecl install memcached
 +/​usr/​local/​php71/​bin/​pecl install memcached
 +/​usr/​local/​php72/​bin/​pecl install memcached
 +
 +echo "​extension=memcached.so"​ > /​usr/​local/​php70/​lib/​php.conf.d/​20-memcached.ini
 +echo "​extension=memcached.so"​ > /​usr/​local/​php71/​lib/​php.conf.d/​20-memcached.ini
 +echo "​extension=memcached.so"​ > /​usr/​local/​php72/​lib/​php.conf.d/​20-memcached.ini
 +</​code>​
 +
 +And then graceful restart LSWS.
 +
 +===PHP5.6===
 +
 +<​code>​yum install -y libmemcached-devel
 +
 +/​usr/​local/​php70/​bin/​pecl install memcached-2.2.0
 +
 +echo "​extension=memcached.so"​ > /​usr/​local/​php56/​lib/​php.conf.d/​20-memcached.ini
 +</​code>​
 +
 +And then graceful restart LSWS.
 +
 ==== Verify PHP memcached extension ==== ==== Verify PHP memcached extension ====
  
  • Admin
  • Last modified: 2020/06/23 12:55
  • by Jackson Zhang