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
litespeed_wiki:directadmin:custombuild-installation [2018/04/02 19:15]
Eric Leu [Troubleshooting]
litespeed_wiki:directadmin:custombuild-installation [2020/04/28 13:02] (current)
Jackson Zhang
Line 13: Line 13:
   ./build set webserver litespeed   ./build set webserver litespeed
   ./build set php1_mode lsphp   ./build set php1_mode lsphp
 +  ./build set php2_mode lsphp
 +  ./build set php3_mode lsphp
 +  ./build set php4_mode lsphp
   ./build litespeed   ./build litespeed
   ./build php n   ./build php n
Line 90: Line 93:
 ====== Setup CloudLinux Selector PHP version ====== ====== Setup CloudLinux Selector PHP version ======
   - From CageFS User Manager add user as Enabled user   - From CageFS User Manager add user as Enabled user
-  - LVE Manager set Default php version to native+  - LVE Manager set Default php version to **Native**
   - Login as user level -> Choose **Select PHP version** to the version you want.    - Login as user level -> Choose **Select PHP version** to the version you want. 
 ====Verify method==== ​ ====Verify method==== ​
Line 115: Line 118:
       <​note></​note>​       <​note></​note>​
     </​scriptHandler>​     </​scriptHandler>​
-3. **PHP select not working** ​   ​+3. **PHP1/​2 ​select not working** ​   ​
   - Check php1 by ''​grep php1 /​usr/​local/​directadmin/​custombuild/​options.conf''​   - Check php1 by ''​grep php1 /​usr/​local/​directadmin/​custombuild/​options.conf''​
   - Check config file, e.g. ''/​usr/​local/​directadmin/​data/​users/​USER_ACCOUNT/​httpd.conf''​   - Check config file, e.g. ''/​usr/​local/​directadmin/​data/​users/​USER_ACCOUNT/​httpd.conf''​
   - Check PHP selector setup correctly through LiteSpeed web admin   - Check PHP selector setup correctly through LiteSpeed web admin
   - If you change some php settings, sometimes may need to rebuild to make it works   - If you change some php settings, sometimes may need to rebuild to make it works
-  - Re-add user account to Cagefs 
  • Admin
  • Last modified: 2018/04/02 19:15
  • by Eric Leu