Search results

  1. N

    Issue with instant update and php.ini per user configuration

    can you give more detail about how you restart Detached PHP Processes ?
  2. N

    Please help me convert this simple rewrite rule from nginx to Litespeed

    please try if following will work: RewriteCond %{QUERY_STRING} ((forums|threads|members|resources|posts|help|tags|attachments).*)$ RewriteRule index.php /forum/%1 [R=301,L]
  3. N

    Rewrite Issue or Issue with PHP?

    please try RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^search/ search.php [L,QSA] see if there is any difference
  4. N

    Error installing the server

    please try "rm -rf /usr/local/lsws/autoupdate/*" and run install again
  5. N

    Lsphp using high cpu

    is APCu used ? then try to disable it strace a 100% CPU lsphp process, try to know what it's doing
  6. N

    Configure Keep-Alive Timeout more than 60 secs

    lsws web admin->Server->Tuning->Connection Timeout (secs)
  7. N

    500 Error Request Timeout

    you can refer this wiki: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:run-without-timeouts
  8. N

    apache_get_modules() and Sendfile

    please don't rely on apache_get_modules(), it's a too apache specific function. by default, litespeed support sendfile. please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:internal-redirect your woocommerce script may need modify its code to support this...
  9. N

    Call to undefined function mysql_error()

    chroot is very tricky and not convenient. if you rebuild without chroot, most likely everything will be ok
  10. N

    Proxy IP in logs

    no need whitelist IP, since you don't know the IP or IP range. just try "Use Client IP in Header:Yes", it's no harm and safe. and then see if it's ok or any new issue ?
  11. N

    Proxy IP in logs

    if the proxy IP is dynamic, there is only one choice, "Use Client IP in Header:Yes" although the IP is dynamic, it should have a range ? then add the IP range in firewall, only allow these IP to access your web server. spoofing will fail completely.
  12. N

    How to use mailman with LiteSpeed

    the issue resolved the OS is Ubuntu 18.04.4 LTS following 3 changes to make it work: under Virtual Host » abc.xyz » Context, create CGI Context Definition URI /cgi-bin/mailman/ Path /usr/lib/cgi-bin/mailman/ add user www-data set Virtual Host document root's owner:group as...
  13. N

    How to use mailman with LiteSpeed

    can you capture screenshot of Virtual Host->Basic->Security or give me access to your server and/or lsws web admin
  14. N

    APVH and Script Handlers

    during litespeed start up, can you grep message similar as below in error.log Create PHP handler [ea-php51] with PHP binary [/opt/cpanel/ea-php51/root/usr/bin/lsphp] Add #1 suffix handler [ea-php51]->[ea-php51]. Associate [php51] with PHP handler [ea-php51].
  15. N

    APVH and Script Handlers

    maybe the restriction is from DirectAdmin. DA custom build only allow max 2 php versions ?
  16. N

    How to use mailman with LiteSpeed

    you can try following to see if ok: Virtual Host->Basic->Security suEXEC User : www-data suEXEC Group : www-data
  17. N

    stderr.log errors after switch to litespeed

    1. is normal message, not error. can ignore it 2. not sure what it is, may relate to cloudlinux's i360 php extension. you can disable i360 for a while, to see if the message will disappear. 3. create a phpinfo page, to trace where sqlite3 is loaded. it tried to load twice. won't cause any real...
  18. N

    SOLVED: How to find more info on 503 errors?

    https://docs.litespeedtech.com/extapp/php/troubleshooting/503/
  19. N

    what is default PHP Process Mode on cpanel Installation ?

    default is ProcessGroup mode, unless you explicitly set "LSPHP_ProcessGroup off" please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:process-mode usually in litespeed, default setting already optimized
  20. N

    Litespeed ProcessGroup Mode fo PHP and Cloudlinux PHP Selector

    "Yes (Detached Mode)" is best option "No" will work, not wrong. "Yes" should be wrong. you can verify it by "ps -ef | grep lsphp|wc" right after web server start up. for low traffic, you may not be able to measure their difference.
Top