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
Last revision Both sides next revision
litespeed_wiki:lsmcd:install-memcached [2019/01/01 10:43]
qtwrk [For cPanel:]
litespeed_wiki:lsmcd:install-memcached [2020/06/23 12:49]
Jackson Zhang [For Native LSWS Environment]
Line 55: Line 55:
 plesk bin php_handler --reread</​code>​ plesk bin php_handler --reread</​code>​
  
-And then graceful restart LSWS.+And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
  
  
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. 
 +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</​code>​ +And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
- +
-And then graceful restart LSWS.+
  
 ====For cPanel:==== ====For cPanel:====
Line 92: Line 93:
 </​code>​ </​code>​
  
-And then graceful restart LSWS.+And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
  
 ===PHP5.6=== ===PHP5.6===
Line 103: Line 104:
 </​code>​ </​code>​
  
-And then graceful restart LSWS.+And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
  
 ===Troubleshooting:​=== ===Troubleshooting:​===
Line 134: Line 135:
 echo "​memcached.so"​ > /​opt/​cpanel/​ea-php71/​root/​etc/​php.ini</​code>​ echo "​memcached.so"​ > /​opt/​cpanel/​ea-php71/​root/​etc/​php.ini</​code>​
  
-And then graceful restart LSWS.+And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
  
 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]].
Line 158: Line 159:
 </​code>​ </​code>​
  
-And then graceful restart LSWS.+And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
  
 ===PHP5.6=== ===PHP5.6===
Line 169: Line 170:
 </​code>​ </​code>​
  
-And then graceful restart LSWS.+And then graceful restart LSWS and restart detached lsphp by ''​killall lsphp''​ or ''​pkill lsphp''​.
  
 ==== Verify PHP memcached extension ==== ==== Verify PHP memcached extension ====
  • Admin
  • Last modified: 2020/06/23 12:55
  • by Jackson Zhang