Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:lsmcd:install-memcached [2018/11/28 21:58]
Jonathan Kagan
litespeed_wiki:lsmcd:install-memcached [2018/11/28 21:59] (current)
Jonathan Kagan
Line 100: Line 100:
  
 echo "​extension=memcached.so"​ > /​opt/​cpanel/​ea-php56/​root/​etc/​php.d/​20-memcached.ini echo "​extension=memcached.so"​ > /​opt/​cpanel/​ea-php56/​root/​etc/​php.d/​20-memcached.ini
-</​code>​ 
- 
-And then graceful restart LSWS. 
- 
-====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>​ </​code>​
  
Line 164: 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 ====
  
 
litespeed_wiki/lsmcd/install-memcached.txt · Last modified: 2018/11/28 21:59 by Jonathan Kagan