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:cache:litemage2:installation [2018/03/16 21:19]
Jackson Zhang [Enable LiteMage After Installation:]
litespeed_wiki:cache:litemage2:installation [2020/04/06 16:00]
Jackson Zhang
Line 19: Line 19:
 Server level cache storage needs to be configured properly for your environment. Select your server setup from the **Web Server Configuration** section of our **[[litespeed_wiki:​cache:​common_installation#​web_server_configuration|LiteSpeed Cache Installation Guide]]** and follow the instructions in the **Set Server Level Cache Root** section of your respective guide. Server level cache storage needs to be configured properly for your environment. Select your server setup from the **Web Server Configuration** section of our **[[litespeed_wiki:​cache:​common_installation#​web_server_configuration|LiteSpeed Cache Installation Guide]]** and follow the instructions in the **Set Server Level Cache Root** section of your respective guide.
  
-==== Prerequisites ====+==== PHP Prerequisites ====
  
-LiteSpeed Enterprise with a working Magento 2 installation.+LiteSpeed Enterprise with a working Magento 2 installation. Magento 2 works only with PHP 7 and hence requires PHP version 7.0.2+
  
-Magento 2 requires ​PHP version ​7.0.2+5.6.x, or 5.5.x. In the command line, type ''​php -v''​ to get the PHP version used by the command line interface. This version may be different than the one used by LiteSpeed. If the version number does not match the version used by LiteSpeed, you run the risk of compatibility issues.+=== On Control panel === 
 +On control panel, you just need to select to the right PHP version. ​ 
 + 
 +=== LSWS Native Mode=== 
 +On LSWS native modeyou can run the following to check your PHP version. 
 + 
 +In the command line, type ''​php -v''​ to get the PHP version used by the command line interface. This version may be different than the one used by LiteSpeed. If the version number does not match the version used by LiteSpeed, you run the risk of compatibility issues.
  
 In the command line, run command ''​which php''​ to get the location of the command line PHP binary, for example ''/​usr/​local/​bin/​php'',​ and enter into that directory with command ''​cd /​usr/​local/​bin''​. If the ''​which''​ command doesn'​t return anything, we recommend using ''/​usr/​local/​bin/''​ or ''/​usr/​bin/''​. Next, change the current PHP binary name to something different as a backup using the ''​mv''​ command and create a symbolic link to the LiteSpeed PHP binary (or copy the binary itself into the current directory). In the command line, run command ''​which php''​ to get the location of the command line PHP binary, for example ''/​usr/​local/​bin/​php'',​ and enter into that directory with command ''​cd /​usr/​local/​bin''​. If the ''​which''​ command doesn'​t return anything, we recommend using ''/​usr/​local/​bin/''​ or ''/​usr/​bin/''​. Next, change the current PHP binary name to something different as a backup using the ''​mv''​ command and create a symbolic link to the LiteSpeed PHP binary (or copy the binary itself into the current directory).
  • Admin
  • Last modified: 2020/07/08 19:32
  • by Lisa Clarke