Search results

  1. Cold-Egg

    Add multiple domains to OLS.

    If you have a different virtual host root, then the $VH_ROOT/html should be fine, you can also use full path instead, e.g. /var/www/domain2/ About domain 2 SSL, you can buy it from a provider or get free SSL from certbot. Then set up the given SSL to virtual host > SSL tab. The virtual host...
  2. Cold-Egg

    Reverse Proxy and redirect issue

    Hi, Try to remove the Context and use the RewriteRule proxy method, see if it helps https://docs.openlitespeed.org/docs/advanced/proxy#name-based-virtual-hosting REWRITERULE ^(.*)$ HTTP://YOURWEBSERVERAPPNAME/$1 [P,L,E=PROXY-HOST:pi-hole.example.com]
  3. Cold-Egg

    Having WordPress website setup using the 1click script keeps hanging (have to reboot)

    Yes, and LSAPI_CHILDREN means the limit. Those are PHP, not really web server related, that's why I asked you to killall lsphp processes.
  4. Cold-Egg

    MySQL Issue

    Might need more information, maybe you can join https://litespeedtech.com/slack and message me @eric, I will help you from there.
  5. Cold-Egg

    Having WordPress website setup using the 1click script keeps hanging (have to reboot)

    When the issue happens again, please run "top" command and share the output here also, "ps aux | grep lsphp | wc -l" to calculate the lsphp process numbers. before reboot, try "killall lsphp" and see if it helps to fix the hang
  6. Cold-Egg

    Desktop version opens the Mobile version.

    Enable the mobile cache and purge all
  7. Cold-Egg

    Having WordPress website setup using the 1click script keeps hanging (have to reboot)

    That sounds weird, by the hang mean the page is showing white or? If you visit a static file, does it loadable?
  8. Cold-Egg

    Is it possible to call $VH_NAME in host templates for rewrite rules?

    I think these variables only work in ols config files.
  9. Cold-Egg

    OLS v8.0.1 with PHP v8.0 on Ubuntu 20.04

    You will need to use LSPHP which has LSAPI included in order to communicate with LSWS/OLS. To switch PHP versions, no need to use a custom PHP build. So you have lsphp74 set in the virtual host but the site is still using PHP 80? Please share both the server and virtual config file so we can...
  10. Cold-Egg

    LightSail Wordpress imagick & intl

    I see, by using the ols1clk script. Then those two packages are not pre-installed. You might want to run apt-get install lsphp80-intl lsphp80-imagick -y
  11. Cold-Egg

    LightSail Wordpress imagick & intl

    Under the document root, run the following command, echo '<?php phpinfo();' > phpinfo.php then visit the site, e.g. http://example.com/phpinfo.php Could you share some information about how did you launch OLS WP on Lightsail? I remember AWS does not provide an LSWS solution on lightsail?
  12. Cold-Egg

    Deploy an Elastic Beanstalk enviroment with OpenLiteSpeed

    https://www.litespeedtech.com/support/forum/threads/setting-up-litespeed-on-elastic-beanstalk.16482/ We don't have any existing stack/script to do it, you might need to config everything manually.
  13. Cold-Egg

    LightSail Wordpress imagick & intl

    Do you mean AWS EC2? Imagick and intl package should be installed by default. You might want to create a phpinfo page to show all the PHP modules.
  14. Cold-Egg

    Lost vhost directory after each docker-compose

    HI https://github.com/litespeedtech/ols-docker-env/blob/master/docker-compose.yml#L20-L26 It seems the admin password (/usr/local/lsws/admin/conf ) and vhost conf (/usr/local/lsws/conf) are included. Maybe you can update "- ./lsws/conf:/usr/local/lsws/conf" to "- ./lsws:/usr/local/lsws", so it...
  15. Cold-Egg

    webadmin username

    Use the following to reset: /usr/local/lsws/admin/misc/admpass.sh
  16. Cold-Egg

    DOCUMENT_ROOT

    For OLS, it's doable but not easy. You might want to install it from the source code and put a custom prefix. Check https://openlitespeed.org/kb/installation-from-source-code/#Installation_Steps Note4. FYI, Apache uses the same term...
  17. Cold-Egg

    litespeed is not running and Can not Login at WebAdmin, but CyberPanel is OK

    The above log means restart, we probably need to check more std or error log to find out the reason. Please submit an issue to support@litespeedtech.com with this post link appended.
  18. Cold-Egg

    DOCUMENT_ROOT

    You are right, and I still don't understand your question. $SERVER_ROOT is the directory where OLS was installed to. $DOCUMENT_ROOT can be set to anywhere when you define a virtual host. If you want to move the $SERVER_ROOT, then why do you keep saying "DOCUMENT_ROOT"?
  19. Cold-Egg

    How to fine tune the server settings for 1gig of memory?

    Hi, wp-admin is not cacheable. Also, to increase the PHP performance, it may be no help to increase the parameter that you listed. Server original PHP value should be good enough, maxConns 10 env PHP_LSAPI_CHILDREN=10 env...
Top