Search results

  1. M

    Simple script, runs under Apache, but not under LS.

    You need to increase http://www.litespeedtech.com/docs/webserver/config/extapps#memSoftLimit run "ulimit -a" from the test script, see what is the limit applied.
  2. M

    Simple script, runs under Apache, but not under LS.

    It could be the memory limit applied to PHP processes. please check/raise lsphp5 external app's memory soft/hard limit configuration.
  3. M

    [Resolved] litespeed + htaccess

    No, it is not supported, since it is going be applied at server level, you can put it in pre-main or pre-vhost include.
  4. M

    Hosting directory /usr/local/lsws/DEFAULT/html

    LiteSpeed upgrade wont overwrite that directory. But it is not recommended, it is better to create your own vhost with its own vhost root directory. do not put it under /usr/local/lsws.
  5. M

    Simple script, runs under Apache, but not under LS.

    You can check what happened with that script with strace. change script to <?php sleep(30); passthru('/home/username/public_html/example.com/cgi-bin/wkhtmltoimage http://google.com/ /tmp/test.png 2>&1'); ?> locate the PHP process processing the script with "ps -ef | grep php". then strace...
  6. M

    Could not verify .htaccess is working

    It could be permission issue for accessing .htaccess from PHP. Are you using PHP suEXEC? If you are using 4.2.21, please do a force reinstall see if it helps or not. /usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.21
  7. M

    [Resolved] MIME and Custom PHP

    This issue should have been fixed in the latest build of 4.2.21, please force reinstall. /usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.21
  8. M

    [Resolved] Litespeed server status

    Yes, you can query the server via a special URL. curl -i http://localhost:7080/status?rpt=detail You can only do it through localhost .
  9. M

    [Resolved] MIME and Custom PHP

    Can you try a force reinstall, make sure you are using the latest build of 4.2.21.
  10. M

    [Resolved] MIME and Custom PHP

    What hosting control panel are you using? It might be an issue with current 4.2.21 release build due to internal changes. We got a report on Plesk.
  11. M

    [Resolved] Litespeed server status

    It should be refreshed every 10 seconds.
  12. M

    Failed to parse IP address [unknown] in X-Forwarded-for header

    I think CloudFlare send header to us.
  13. M

    mod_action calls not working ?

    Please upgrade to 4.2.21 /usr/local/lsws/admin/misc/lsup -f -v 4.2.21
  14. M

    [Resolved] Todays lsws-4.2.21 upgrade signal 11, Segmentation fault.

    A new build is available, should be fixed.
  15. M

    [Resolved] Litespeed and GHOST (glibc gethostbyname buffer overflow)?

    No, LiteSpeed does not call gethostbyname() at runtime. Calling it will block our event loop, we must avoid calling it by design.
  16. M

    Site freezes when processing MYSQL operation

    That's what I would suggest. fixing APC bug is beyond what we can help. strace the running lsphp5 process to find out what happened if it still happens.
  17. M

    Site freezes when processing MYSQL operation

    I think it is a dead lock in APC's SHM access code, so as long as PHP process using the same SHM segment, it cannot process anything as it will be locked immediately when load a script from APC. You should strace the PHP process when it happens, if it stuck at "futex()" call, it is a dead lock...
  18. M

    too slow sload

    Do you have bandwidth throttling set? http://www.litespeedtech.com/docs/webserver/config/security#outBandwidth
  19. M

    Site freezes when processing MYSQL operation

    APC may not be stable with PHP 5.4+, can you switch to xcache or opcache. For user cache, you can use APCu if you are using it.
  20. M

    503 Error when viewing PHP INFO with Xcache installed

    you need to rebuild your PHP binary, pdo_sqlite extension is broken. or take out pdo_sqlite.so out from the php.ini .
Top