KNOWNHOST WIKI

User Tools

Site Tools


vps-hosting:install-memcached-on-centos-7-with-cpanel

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
vps-hosting:install-memcached-on-centos-7-with-cpanel [2018/04/12 13:26]
Derrick B. [Installing memcached]
vps-hosting:install-memcached-on-centos-7-with-cpanel [2018/04/12 13:32]
Derrick B. [Installing PHP memcache modules]
Line 79: Line 79:
 For PHP56, the module is called "​memcache",​ the following command will use the __P__HP __E__xtension __C__ommunity __L__ibrary to install the module on the specified version of PHP: For PHP56, the module is called "​memcache",​ the following command will use the __P__HP __E__xtension __C__ommunity __L__ibrary to install the module on the specified version of PHP:
  
-''​scl enable ea-php56 'pecl install memcache'​'+<​code>​scl enable ea-php56 'pecl install memcache'​</​code>​
  
 During this module'​s install, just hit [Enter] when you're queried with the following: During this module'​s install, just hit [Enter] when you're queried with the following:
Line 89: Line 89:
 For PHP7__*__, the module is called ''​memcached''​. Replace the 0 with 1 or 2 for versions PHP71 and PHP72: For PHP7__*__, the module is called ''​memcached''​. Replace the 0 with 1 or 2 for versions PHP71 and PHP72:
  
-''​scl enable ea-php70 'pecl install memcached'​''​+<​code>​scl enable ea-php70 'pecl install memcached'​</​code>​
  
 During this module'​s install, you'll be queried with the following - instead of pressing [Enter], type what's displayed below and then hit [Enter]: During this module'​s install, you'll be queried with the following - instead of pressing [Enter], type what's displayed below and then hit [Enter]:
Line 101: Line 101:
 To confirm the modules are installed, type: To confirm the modules are installed, type:
  
-''​scl enable ea-php56 'php -m' | grep memcache''​ +<​code>​ 
-''​scl enable ea-php70 'php -m' | grep memcached''​+scl enable ea-php56 'php -m' | grep memcache 
 +scl enable ea-php70 'php -m' | grep memcached 
 +</​code>​
  
 {{:​vps-hosting:​modules_confirm.png?​direct&​400|}} {{:​vps-hosting:​modules_confirm.png?​direct&​400|}}
vps-hosting/install-memcached-on-centos-7-with-cpanel.txt · Last modified: 2018/12/04 15:10 by Derrick B.