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:cpanel:easyapache4-config [2018/06/07 14:58]
qtwrk [Configuring cPanel + EasyApache 4 with LiteSpeed]
litespeed_wiki:cpanel:easyapache4-config [2019/10/01 14:20]
Jackson Zhang
Line 1: Line 1:
-====== ​Configuring cPanel + EasyApache 4 with LiteSpeed ======+====== ​Migrating cpanel EA3 to EA4 with LiteSpeed ======
  
 EasyApache is software that installs, configures, updates, and validates your web server, PHP, and other web server components. ​ EasyApache is software that installs, configures, updates, and validates your web server, PHP, and other web server components. ​
Line 17: Line 17:
 Alternatively,​ you can run the upgrade script: Alternatively,​ you can run the upgrade script:
   /​usr/​local/​cpanel/​whostmgr/​docroot/​cgi/​lsws/​migrate_ea3_to_ea4_litespeed.sh   /​usr/​local/​cpanel/​whostmgr/​docroot/​cgi/​lsws/​migrate_ea3_to_ea4_litespeed.sh
 +
 +If you are running CloudLinux and CL PHP Selector is your preferred way for all PHPs, please check [[
 +litespeed_wiki:​cpanel:​use-cloudlinuxphpselector-on-ea4-with-lsws|how to configure cpanel ea4 + cloudlinux + LSWS to use CL php selector instead of ea4 multiphp]].
  
 The upgrade script is the easiest way. However if you still want to do it manually or try to understand how the upgrade works, please follow the following steps. The upgrade script is the easiest way. However if you still want to do it manually or try to understand how the upgrade works, please follow the following steps.
Line 59: Line 62:
  
 **Note:** LSWS is not compatible with mod_ruid2 because LSWS does not allow the process user to change mid-process. Make sure that mod_ruid2 is disabled in your WHM settings when using LSWS. LSWS is compatible with Apache prefork or event MPM. If mod_ruid2 is enabled, a variety of functionality may be disrupted due to WHM creating files that the web server user cannot access. **Note:** LSWS is not compatible with mod_ruid2 because LSWS does not allow the process user to change mid-process. Make sure that mod_ruid2 is disabled in your WHM settings when using LSWS. LSWS is compatible with Apache prefork or event MPM. If mod_ruid2 is enabled, a variety of functionality may be disrupted due to WHM creating files that the web server user cannot access.
 +
 +If you are experienceing any of the following errors and your external apps and script handlers have been configurated,​ you might not install the following ea-phpxx on your server, you can use easy apache to install them to fix the errors.
 +
 +  2018-08-27 20:​53:​25.421588 ERROR [config:​scripthandler] use static file handler for suffix [php71]
 +  2018-08-27 20:​53:​25.421606 ERROR [config:​scripthandler] Can not find handler with type: 17, name: lsphp72.
 +  2018-08-27 20:​53:​25.421615 ERROR [config:​scripthandler] Can not find External Application:​ lsphp72, type: lsapi
 +  2018-08-27 20:​53:​25.421623 ERROR [config:​scripthandler] use static file handler for suffix [php72]
 +  2018-08-27 20:​53:​25.421668 ERROR [config:​scripthandler] Can not find handler with type: 17, name: lsphp54.
 +  2018-08-27 20:​53:​25.421684 ERROR [config:​scripthandler] Can not find External Application:​ lsphp54, type: lsapi
 +  2018-08-27 20:​53:​25.421693 ERROR [config:​scripthandler] use static file handler for suffix [php54]
 +  2018-08-27 20:​53:​25.421711 ERROR [config:​scripthandler] Can not find handler with type: 17, name: lsphp55.
 +  2018-08-27 20:​53:​25.421742 ERROR [config:​scripthandler] Can not find External Application:​ lsphp55, type: lsapi
 +  2018-08-27 20:​53:​25.421752 ERROR [config:​scripthandler] use static file handler for suffix [php55]
 +  [Mon Aug 27 20:53:26 2018] [notice] Finish reading Apache configuration,​ server configured -- resuming normal operations
 +  2018-08-27 20:​53:​26.572142 [ALERT] [Child: 30527] LiteSpeed/​5.2.8 Enterprise starts successfully!
 +  ​
 +  [root@server1 opt]# find /​opt/​cpanel/​ -name lsphp
 +  /​opt/​cpanel/​ea-php56/​root/​usr/​bin/​lsphp
 +  ​
 +User only installed ea-php56, but missing all the rest php versions. If you intended to do so, it is fine and the above error message can be saftly ignored.
  • Admin
  • Last modified: 2019/10/01 14:28
  • by Lisa Clarke