Search results

  1. N

    corrupt data provided by litespeed server for PHP $_GET variable

    this may be an IE issue, firefox is fine -- by checking the webpage you referred. I've simplified the issue as Not tested with Apache yet. and I'm not sure what's the right solution at the moment. PHP developer may consider this workaround: when there is # in the value...
  2. N

    eAccelerator Purges Automatically = Not Wanted

    yes. refer: http://www.litespeedtech.com/docs/webserver/config/extapps/#extMaxIdleTime A more complete configuration variable list is here: http://www.litespeedtech.com/php-litespeed-sapi.html
  3. N

    eAccelerator Purges Automatically = Not Wanted

    your settings looks fine. please check if the lsphp5 process is still there when you found opcode cache disappeared. the shared memory will be freed when lsphp5 process ends.
  4. N

    PHP File Writing Permissions

    I did some tests locally, to enable need define a vhost level lsphp5 ExtApp first, say "lsphp5_vh" as its name. then in vhost "Script Handler", select this lsphp5_vh to handle php. if select lsphp extApp defined in server level, lsphp will run as server uid/gid, i.e., nobody in this case.
  5. N

    [Resolved] LSWS 4.0.13 to 4.0.14 upgrade ?

    if destination folder is same as previous installation, it'll prompt you upgrade.
  6. N

    Any benchmarks yet?

    We did some benchmark tests and published on our blog, from Dec 9, 2009 to Feb 3, 2010. http://blog.litespeedtech.com/
  7. N

    Cache for Session ( like Cookie )

    in theory, you can set cookie for session, then cache page with cookie
  8. N

    Custom PHP Script Handler

    it's possible, too. steps: 1. assume you have defined external applications: lsphp532_1 --> PHP 5.3.2 with Curl and Mailparse lsphp532_2 --> PHP 5.3.2 with SOAP and GD 2. under admin console --> server or vhost --> Script Handler -->Add, (for example,) php52 -->lsphp532_1 php53...
  9. N

    How to Limit 10% Cpus for LiteSpeed PHP ?

    if you have 4 cores, at least limit to 4 X 10%=40%. since full CPU usage is 400%, not 100% using top instead of ps can see which processes use CPU most from the message "Warning: no target process found. Waiting for it...", it looks like cpulimit not working as expected.
  10. N

    How to Limit 10% Cpus for LiteSpeed PHP ?

    did it limit lsphp5 10% cpu successfully? how many cpu cores on your server? usually how many lsphp5 processes are running?
  11. N

    How to Limit 10% Cpus for LiteSpeed PHP ?

    "cpulimit is a simple program that attempts to limit the cpu usage of a process (expressed in percentage, not in cpu time). This is useful to control batch jobs, when you don't want them to eat too much cpu. It does not act on the nice value or other scheduling priority stuff, but on the real...
  12. N

    Add and use rewrite rules

    Thanks for the feedback. For server-wide rewrite rule, it should be rewriteCond %{HTTPS} !on rewriteCond %{HTTP:X-Forwarded-Proto} !https rewriteRule ^/(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] i.e., need an extra "/" in line 3. I wasn't aware of this either in my last post.
  13. N

    limite process per user

    maybe CloundLinux is what you want. search "CloundLinux" in our forum.
  14. N

    .htaccess proxy pass through

    your example of google looks not good: it looks like google can detect this and refuse to be reverse proxy'ed. RewriteEngine on RewriteRule (.*) http://www.google.ca/$1 [P] assume the name of your external App of web server is google_backend, the rewrite rule should be RewriteEngine on...
  15. N

    LSWS 4.0.6 upgrade to 4.0.13

    so your lsws is leased license, no problem to upgrade to latest version. after one time upgrade to 4.x manually, auto upgrade will be there. maybe 3.x auto upgrade has been deactivated at our license server's side.
  16. N

    LSWS 4.0.6 upgrade to 4.0.13

    yes, when specify same installation folder, install.sh will prompt install or upgrade, select upgrade. hmm...for 3.3.x version, if it's a owned license, be sure first it's still in one year free upgrade period.
  17. N

    LSWS 4.0.6 upgrade to 4.0.13

    No, upgrade lsws is simple, not that complicated. please follow: http://www.litespeedtech.com/docs/webserver/install/ Installation Steps
  18. N

    URL Rewrite + PHP LSAPI hate the $_SERVER array

    you can define a context under a vhost. in this drupal case, define a static context: URI: /drupal/ Location: drupal Accessible:Yes Rewrite Rules: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?q=$1 [L,QSA] my...
  19. N

    [Resolved] How to Specify Extra Headers?

    assume you installed Page Speed 1.7 or 1.8.1 beta? css.css in my firebug 1.5.4(Firefox 3.6.3) showed the 2 headers:"Content-Encoding: gzip" and "Vary: Accept-Encoding". and Page Speed no complain lack of Vary header etc.
  20. N

    suphp ?

    From my simple testing, it is. Technically, running as nobody or as other user should have no much difference. in our blog, already address it:"There is little performance impact for LiteSpeed to run in suEXEC mode; therefore it can achieve security benefit of suPHP without losing performance...
Top