Questions tagged [litespeed]

LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.

292 questions
20
votes
4 answers

Fatal error: Maximum execution time of 0 seconds exceeded

My script compares 2 source trees, creates a map of possible changed files, compares MD5 hashes and creates a diff-package. After 28000-29000 files, PHP terminates the script with error: Fatal error: Maximum execution time of 0 seconds exceeded in…
kiler129
  • 1,063
  • 2
  • 11
  • 21
16
votes
3 answers

LiteSpeed vs Apache httpd

I've been hearing things lately about the LiteSpeed webserver as being a drop-in replacement for Apache webserver. Even my web host is going to replace their shared webhost environment with LiteSpeed (I'm currently not sure if I must be happy about…
Luke
  • 20,878
  • 35
  • 119
  • 178
13
votes
6 answers

cakephp and https redirects

I have a site that has some strict requirements for SEO purposes. The main one is redirecting all http requests to https which I have done by adding this into the AppController: public function forceSSL() { return $this->redirect('https://' .…
djcamo
  • 297
  • 2
  • 3
  • 14
9
votes
1 answer

htaccess help, need to force www, https, and remove index.php

I have a rewrite in my htaccess file that removes index.php from the url RewriteEngine on RewriteCond $1 !^(images|media|system|themes|_css|_js|favicon\.ico|robots\.txt|cert\.html|index\.php) [NC] RewriteRule ^(.*)$ /index.php/$1 [L] In addition to…
user26858
8
votes
3 answers

PHP response to HEAD request

I have a PHP script that serves portions of a PDF file by byte ranges. If an HTTP HEAD request is received, it should send back headers (including the PDF file size) but not the actual file contents. I have tried this: header('HTTP/1.1 200…
oomp
  • 99
  • 1
  • 5
7
votes
3 answers

How Do I Configure eTags?

Using ySlow, it recommends that I use eTags. I never heard of them before today. The question is now, how do I configure eTags? I just spent the last 2 hours trying to figure this out. I tried adding various recommended scripts to my .htaccess…
Xarcell
  • 2,011
  • 6
  • 33
  • 65
4
votes
2 answers

Namecheap LiteSpeed Problem when Posting data from html form

I am facing a problem when trying to post data to my PHP from html form. The issue is as follows: When I submit less data like a 1 paragraph of Lorem Ipsum it works fine. Submitting more paragraphs it fails instantly with error 403 Forbidden. Tried…
felixkpt
  • 128
  • 3
  • 10
4
votes
1 answer

Changes in PHP.INI for OpenLiteSpeed not working

In a OpenLiteSpeed server I used php_info() to find the path to php.ini Loaded Configuration File /usr/local/lsws/lsphp73/etc/php/7.3/litespeed/php.ini Then I edited max_input_vars and tried several ways to restart OpenLiteSpeed to apply the…
drcrow
  • 331
  • 1
  • 10
4
votes
1 answer

Any benchmarks showing Litespeed faster than Nginx servers?

There are several discussions around the web about some "anonymous" benchmarks released by Litespeed Technologies on http2benchmark.org (etc) allegedly showing that their LS servers are faster than Nginx LEMP stacks (apparently, they knowingly…
Jesse Nickles
  • 1,435
  • 1
  • 17
  • 25
4
votes
2 answers

Django utf-8 urls

I have a Django app that works fine on localhost.even for utf-8 URL path.but when I use it in production it gives me an error: 2019-09-01 14:32:09.558237 [ERROR] [12257] wsgiAppHandler pApp->start_response() return NULL. Traceback (most recent call…
Nimdeveloper
  • 376
  • 4
  • 17
4
votes
1 answer

Wordpress with LiteSpeed shows 404 when trying to access it by my new domain

I have created an instance of wordpress with open LiteSpeed cache in Digital Ocean droplets, it works fine if I have the IP configured in the Settings/General Site and Wordpress URL, but when I add my dns name, starts popping up 404 everywhere. The…
Roger that
  • 442
  • 6
  • 21
4
votes
1 answer

how to get openlitespeed webadmin password or reset litespeed admin panel password?

I installed openlitespeed by following step: wget --no-check-certificate https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh bash ols1clk.sh -w After this, I tried to login to http://myip:7080/login.php. And I tried admin…
harrrrrrry
  • 13,643
  • 2
  • 23
  • 28
4
votes
0 answers

High PHP APC fragments and hollow usage pie chart

I use litespeed webserver and PHP APC. However i notice there is some strange stats from "apc.php". First strange thing is although fragmentation percentage is very low (under 1%), but the number of fragments is very high (6935 fragments). I have…
Sempa
  • 308
  • 2
  • 8
4
votes
1 answer

What is best PHP Handler for APC

I utilize APC for opcode in par with 4-cpu license Litespeed. What is the best PHP handler for this situation in term of performance first, and security later? Is it suphp / dso / fcgi / cgi ? (i read that DSO can leave a hole if one of the script…
Sempa
  • 308
  • 2
  • 8
3
votes
3 answers

POST files uploading - multipart/form-data + UTF bug in PHP?

When I try to upload files using HTTP post with header Content-Type: multipart/form-data; boundary=-----NPRequestBoundary----- everything works as expected but trying to use Content-Type: multipart/form-data; boundary=-----NPRequestBoundary-----;…
kiler129
  • 1,063
  • 2
  • 11
  • 21
1
2 3
19 20