Search results

  1. A

    PHP5, eAccelerator configuration question.

    the setting is ok. so go ahead to set "Script Handler" as mentioned before, will resolve one of the problems:"when go to phpinfo.php, it still shows as php4.4.9", it will show php 5.x.x
  2. A

    PHP5, eAccelerator configuration question.

    what's your settings on Server-->External App now? Since you're in WHM/cPanel environment, the listener setting could be empty.
  3. A

    PHP5, eAccelerator configuration question.

    check your "Script Handler" setting: http://www.litespeedtech.com/docs/webserver/config/scripthandler/ to configure lsphp5 to handle .php/.php5, lsphp4 to handle .php4 etc.
  4. A

    How to redirect a folder to a subdomain?

    try rewrite: in wiki/.htaccess: RewriteEngine On RewriteRule (.*) http://wiki.mydomain.com [R=303]
  5. A

    Server load same after switch to litespeed

    Maybe you can try disable XCache first, see if any difference. If improving a lot, it should explain XCache is the problem -- no cache is even better than with XCache. Then can go ahead to try eAccelerator.
  6. A

    Server Signature

    you can edit $SERVER_ROOT/share/autoindex/default.php to change it. The "Server Signature" is used to configure the "Server" value in every http response header. Can check it through firebug: in this example, configure this line: Server: LiteSpeed
  7. A

    symbolic link does not work in 4.0.3

    something playing with vhost security settings: Follow Symbolic Link Restrained e.g., for domain2, if Follow Symbolic Link=Yes with symlink: ln -s /var/www/vhosts/domain1.com/httpdocs/upload upload domain2.com/upload/images.jpg should work. if Follow Symbolic Link=If Owner Match...
  8. A

    large static file downloads stop at 50MB

    "max post size" should be "Max Dynamic Response Body Size (bytes)" referred in this thread. It's quite reasonable to increase it to resolve the issue.
  9. A

    WebSite opens in 50 seconds? - Load Averages: 3.00 - Why slow? Please Help Me!

    it may relate to the application your site is running. it's PHP or RoR? and litespeed configuration? need more info any way.
  10. A

    PHP versions changing of the fly with no reason

    Hi priestjim, put following test.php in your domain document root, what's the output? <?php echo "phpversion()=" . phpversion() . "<br>"; echo "version_compare( phpversion(), '5.0.0')=" . version_compare( phpversion(), '5.0.0')."<br>"; echo "phpversion()=" . phpversion() . "<br>"; ?>
  11. A

    large static file downloads stop at 50MB

    I took a quick look at DOCman source code, the downloaded file is sent to user by .php, so its size is limited by "Max Dynamic Response Body Size" I mentioned in previous post. try to increase it to 100M/200M and see how it goes. to compare with pure static file download, you can put a large...
  12. A

    large static file downloads stop at 50MB

    there is a setting for "Max Dynamic Response Body Size": http://www.litespeedtech.com/docs/webserver/config/tuning/#maxDynRespSize but looks no limit for static file size?
  13. A

    High Server Load at regular times

    Mine is at Configuration->Server-->External App-->select lsphp5-->Max Idle Time
  14. A

    How to setup Litespeed LSWS for a shared environment?

    I'd like to download 1 of the scripts, to try on my local box, see if LSWS can stop it, or how to stop it. Can you tell the location of the scripts site, and point out 1 which looks most troublesome? This will break down big issues into smaller ones, and help resolve them finally.
  15. A

    503 error on every initial request to a Rails site

    since it's first request to get 503 error, can you try increasing Initial Request Timeout: 30 also wonder if Instances: 2 can change to 1 or equal to Max Connections: 10
  16. A

    file command error in error.log

    check access.log at that time may help.
  17. A

    LSWS stops rotating logs for no apparent reason

    update: apache not miss logs. in my previous post, step 4, although access.log not created, but new access still append to access.log.bak so the mechanism to process log file is different between apache and lsws. apache will append data to log file's file descriptor instead of file...
  18. A

    LSWS stops rotating logs for no apparent reason

    tested on apache 2.2.11 1.tail -F access.log keep running there, repeat open access.log every 1 second(default 1 second) 2.in another terminal window: mv access.log access.log.bak 3.then error message for tail: tail: cannot open 'access.log' for reading: No such file or directory but still...
  19. A

    LSWS stops rotating logs for no apparent reason

    to help identify the issue: 1. lsws version still be 3.3.23 ? 2. this time, is "tail -F access.log" command or script running as before?
  20. A

    Disable log rotation

    set to 2040M will be ok. but looks a small bug here: when set to 2G, although the warning issued in error.log, in admin console still see 2G setting there. since 32-bit OS has 2GB file-size limit, so 2G is maximum log size you can reach. For 64-bit OS, file size limit is much much larger...
Top