Search results

  1. N

    Move from External Apps / Scripts to Auto Config?

    backup /usr/local/lsws/conf/httpd_config.xml remove external apps/script handlers defined (it's ok to keep them though) restart lsws to test if any issue, you can restore back saved httpd_config.xml and restart lsws again
  2. N

    Setting up a RAM disk

    /dev/shm is created by linux and RAM disk already. you can create sub directory under it and assign it as a OpenCart cache folder
  3. N

    Cloudlinux+Litespeed+change php version

    probably it's not possible for cloudlinux's alt-php, you can confirm with cloudlinux support. but it's possible you run ea-php 7.2 in a directory by add following line in this directory's .htaccess: AddType application/x-httpd-ea-php72 php
  4. N

    Cloudlinux+Litespeed+change php version

    this is not needed for litespeed: if it's required by apache, you can enclose it by <IfModule !litespeed> <IfModule mime_module> AddType application/x-httpd-alt-php72___lsphp /opt/cloudlinux/alt-php72/root/usr/bin/lsphp .php </IfModule> </IfModule PHP Selector should work out of box. you can...
  5. N

    Litespeed Virtual Hosts in cPanel&CloudLinux VPS

    you can also click on "Actions" button in your screenshot. you can see virtual host list there, include virtual hosts from apache's httpd.conf
  6. N

    How to set Connection Timeout in .htaccess or php.ini?

    great. I think this is the right place/method for your crawler to run. in general, web server is not suitable for long time running task/script. better to use command line if possible in such case. you can try to make a bit change on your crawler to see if it will work better. assume the...
  7. N

    How to set Connection Timeout in .htaccess or php.ini?

    Sorry no time left today, will explain it later. in short, in command line, assets.php will run forever, no unexpected various time outs.
  8. N

    How to set Connection Timeout in .htaccess or php.ini?

    can the crawler run on command line ? i.e., "php /path/to/assets.php" if it can, it won't bother with lsws settings include noabort/noconntimeout
  9. N

    How to set Connection Timeout in .htaccess or php.ini?

    warm which domain's cache ? domain.tld 's cache or other-domain.tld 's cache ?
  10. N

    How to set Connection Timeout in .htaccess or php.ini?

    how do you run your crawler ? curl http://domain.tld/dir/assets.php ? I guess there is a possibility that curl is aborted, but the assets.php still running for cache warmup
  11. N

    How to set Connection Timeout in .htaccess or php.ini?

    can you create a test case, so it's easy to reproduce at both side, and easier to discuss.
  12. N

    How to set Connection Timeout in .htaccess or php.ini?

    yes, from following 2 docs collect some related info: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:run-without-timeouts or https://docs.litespeedtech.com/extapp/php/configuration/control/#no-connection-timeout in .htaccess , there are following directives...
  13. N

    How to set Connection Timeout in .htaccess or php.ini?

    in .htaccess php_value max_execution_time 7200 in php.ini max_execution_time = 7200
  14. N

    [solved] Bug or Feature: LSWS doesn't accept more than 1 response header with the same name

    looks like typo ? header ("test: test1"); header ("test: test2",false);
  15. N

    Create litespeed servers from a template

    please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:licenses:activating-a-license can find the answer in it. if still have question, leave message here
  16. N

    Issue with instant update and php.ini per user configuration

    if litespeed is not too old, lsphp run in detached mode by default, you needn't worry about or change it. to identify/debug the issue, it's best to create a phpinfo page. and specify an particular php_value and not work as expected. you can create a ticket or PM the login of the server, so I...
  17. N

    WordPress database error Commands out of sync; you can't run this command now for query...

    looks like an reasonable approach. have you tried it ?
  18. N

    error 503 on proxy subdomains of cpanel

    is port 2083,i.e. https://cpanel.domain.com ok ? may need root access to debug
  19. N

    Main post image is hiding since i installed lite speed

    it may relate to https://zimuki.com/wp-content/plugins/litespeed-cache/assets/js/lazyload.min.js can you try excluding lazyload.js from lscache and see if it'll make a difference ?
  20. N

    Issue with instant update and php.ini per user configuration

    in php detached(now default) mode, restart litespeed may not be enough, this is what why detached mode is introduced. please read again: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:detached_mode#restart_detached_php_processes for how to restart lsphp process at once
Top