Trying out LSWS - few questions regarding Cagefs etc.

Discussion in 'General' started by iso99, Apr 10, 2014.

  1. iso99

    iso99 New Member

    Hi guys!

    I'm currently on a trial license and everything seems to be going smoothly.

    I have a few questions though:
    1. When should I rebuild Cagefs skeleton? I do this when I change php config. Now with LSWS, what are the changes in protocols?
    2. I'm quite confused with caching. Is caching disabled by default? How do I enable caching on a general level without changing codes or .htaccess files?

    I haven't fully explored everything yet so I might be updating this thread for the next 14 days.

    Hoping for your help.

    Thanks a lot!
  2. Michael

    Michael Administrator Staff Member

  3. mistwang

    mistwang LiteSpeed Staff

    For question 1, yes, it is the same protocol. you need to update the skeleton after updating lsphp as well.
  4. iso99

    iso99 New Member

    Thanks for the info, I will be reading on them.

    I'm using LSWS with cPanel and installed through the Auto-installer. Can cPanel's PHP config editor still be used, or should I modify /usr/local/lsws/php/php.ini directly?
  5. mistwang

    mistwang LiteSpeed Staff

    You should check which php.ini is used from a phpinfo() page output, and update that file. Also, if CageFS is used, you should update the php.ini inside the cage.
  6. iso99

    iso99 New Member

    Thanks, was able to get it working.

    I have used the auto-installer to shift from Apache, is it normal that under the Listeners and Virtual Hosting tabs, there are no entries? And my Server log viewer is not displaying anything despite that it says I have around 80mb worth of log entries.
  7. Michael

    Michael Administrator Staff Member

    Howdy,

    Yes, that is normal. LSWS is running from your Apache configurations. It is not using virtual hosts or listeners in LiteSpeed native configurations, but rather reading them directly from httpd.conf and other files. The same is true for the log viewer.

    Cheers,

    Michael
  8. iso99

    iso99 New Member

    I'm ready to get an enterprise 1cpu license. however, afaik trial license is running on 2-cpu. should i be doing anything else after i switch license keys?
  9. Michael

    Michael Administrator Staff Member

    You do not need to change any configurations, just be aware that LSWS will be running on one less core and that you will no longer have page caching (LSCache) available. You may not even notice the one less core, though. Just keep an eye on your server to see if having LSWS on one less core causes more load or slows things down at all.

    Michael

Share This Page