Search results

  1. N

    Only Homepage Works others white?

    check .htaccess in document root, see if it has correct rewrite rule.
  2. N

    Process Soft Limit/Process Hard Limit in External App

    the user can have 2 x 30 = 60 processes. please don't set Process Soft Limit: 28 Process Hard Limit:30 it's too low. they means limit of lsphp5 processes number for all users. if it's too low, your settings may be ignored. why the limit is 60 but the user can launch 80 processes ... need...
  3. N

    Process Soft Limit/Process Hard Limit in External App

    what's the lsws license type on this server ? 1-CPU, 2-CPU or 4-CPU ?
  4. N

    Process Soft Limit/Process Hard Limit in External App

    what's your setting at lsws web admin -> Server -> General -> PHP suEXEC PHP suEXEC Max Conn ?
  5. N

    Enable LSCache for all dynamic hosted sites?

    please read https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscache
  6. N

    500 internal error

    FYI - /usr/local/lsws/fcgi-bin>./lsphp5 -i|grep "Configuration File (php.ini) Path" Configuration File (php.ini) Path => /usr/local/lsws/lsphp53/lib
  7. N

    500 internal error

    that would be easier to debug. can you provide more information ? how about run it in command line, for example, try #/usr/local/lsws/fcgi-bin/lsphp5 -i see if any error messages if there are extensions loaded, edit the php.ini, comment out all extensions, and see if still 500 error.
  8. N

    500 internal error

    >Hi if visit php file will show 500 internal error but no for html or other faile, how about simple phpinfo.php page ? 500 error as well ?
  9. N

    Call to undefined function json_encode()

    http://php.net/manual/en/json.installation.php "As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP by default." what's the php version you built? put a phpinfo.php under document root, check if it's the lsphp you built, and grep json in this info page.
  10. N

    Enable LSCache for all dynamic hosted sites?

    Hi, that's not possible --- because not all pages are cache-able.
  11. N

    Memcached not working

    >root@homeserver:~#php -i | grep memcached is this php you built? check this one instead: /usr/local/lsws/fcgi-bin/lsphp5 -i | grep memcached also please note there are 2 different php memcache module: one is Memcache http://php.net/manual/en/book.memcache.php another one is Memcached...
  12. N

    Perl (CGI Scripts)

    is your vhost native or come from apache's httpd.conf ? if from httpd.conf, grep "cgi-bin", see if directives like ScriptAlias /cgi-bin/ /web/cgi-bin/ is there. if it exists, remove or comment out it. refer apache document: http://httpd.apache.org/docs/2.2/mod/mod_alias.html#scriptalias if...
  13. N

    Web server started automatically, no core file

    how about the status ? still receive such emails often ? if so, 1. force-reinstall 4.2.18, to see if any improvement(less email or no email) 2. if still problem, you may need install the debug version of lsws to capture more detailed info in stack trace.
  14. N

    Perl (CGI Scripts)

    you may miss this step:
  15. N

    [Resolved] Permissions issues with new accounts

    this is problem. should be drwxr-x--- 3 skylensc nobody 4.0K Nov 4 06:03 public_html/ if this initial issue is resolved, rest issues will be gone. you can also ask cPanel's support regarding this. please try switch to apache, create a new test user account, check public_html's ownership and...
  16. N

    [Resolved] Permissions issues with new accounts

    check your EasyApache configuration, which you have enabled it: suPHP ruid2 itk should use suPHP
  17. N

    JS files were not compressed when compressing through Gzip

    please PM the site's URL, is gzip not working for all URLs or part of them ?
  18. N

    Bug in litespeed sapi, http_response_code() returns empty string

    Thanks tested with nginx + phpfpm and lsphp5, confirmed the difference. >debugging a page cache problem do you mean the lsws page cache ? after you patch the lsapi, the issue is gone ? can you give more info regarding this ?
  19. N

    FastCGI .fcgi Internal server error Django documentation incomplete

    how about .wsgi extension ? internal error or not ?
  20. N

    [Resolved] Header set Content-Type Not working

    I did a test, it can be overwritten by php script. #cat GoogleFontsCSS <?php header("Content-Type: text/css"); echo "this is .css file"; ?> #cat .htaccess <FilesMatch "GoogleFontsCSS"> SetHandler application/x-httpd-php </FilesMatch> when access domain.com/GoogleFontsCSS it shows correct...
Top