This is an old revision of the document!


How to configure PHP on LSWS to work with cPanel EasyApache4

If you install LSWS to cPanel EasyApache 4 through LiteSpeed auto-installer script, there is no extra requirement to configure PHP for LSWS and LSWS should work out of the box.

For LSWS 5.2.x and lower version, LiteSpeed auto-installer script will add necessary external apps and script handlers automatically.

For LSWS 5.3 and above, external apps and script handlers are not necessary anymore since they have been built into LSWS itself, though specifically configurated external apps and script handlers can override the default settings.

If you are using cPanel EasyApache 4 with CloudLinux, you can refer to this wiki on how to configure LSWS to use either EA-PHPxx or Alt-phpxx. Most of the time, LSWS will honor whatever PHP binary and version you set to Apache.

  • Admin
  • Last modified: 2018/10/31 21:19
  • by Jackson Zhang