LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.
Questions tagged [litespeed]
292 questions
2
votes
3 answers
HTTP/2 Server Push not working, what am I doing wrong?
This is my first question here, hope I'm doing it right.
I'm using a LiteSpeed webserver with HTTP/2 (shared hosting provider), but I can't get the push feature to work. I'm not quite sure how to check if it works, but at least as far as I can tell…

dpkdawg
- 23
- 1
- 5
2
votes
1 answer
Prestashop friendly url problem on new server
I've moved my prestashop 1.6 to another server based on litespeed. I just copied all files and database to new server. But I have a problem with friendly urls. Product, category and pages link stopped working.
For example: on old server product url…

Kuba Proelowski
- 35
- 5
2
votes
0 answers
PHP 7 include file error - file name is parsed incorrectly
Recently I met a weird error and hope someone can help.
We use LiteSpeed WebServer and Nginx on top, with PHP 7.5 and MySQL 5 (well, WordPress is the framework). It runs well for many days.
Suddenly it goes fatal at this line in different…

Ha Doan Ngoc
- 51
- 2
2
votes
1 answer
Wordpress API endpoint giving 404 on clean install
My clean install of Wordpress is responding with a 404 at /wp-json.
The URL I'm using is temporary in the format http://111.222.333.444/~account/
I can access the blog at http://111.222.333.444/~account and wp-admin at…

Andrew Mackie
- 344
- 3
- 13
2
votes
1 answer
broken packages libpng12-0 when install lsphp71 on ubuntu 16.10
After run wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh | bash, when I try to install lsphp71 via apt install -y lsphp71 on ubuntu 16.10, it gave this error:
The following packages have unmet dependencies:
lsphp71 :…

harrrrrrry
- 13,643
- 2
- 23
- 28
2
votes
0 answers
Long Stalled/Blocking Time on big fileupload
UPDATE 2: Stalled Problem solved
I'm using dropzone.js to handle file uploads to a shared hosting. Shared hosting is on NovaTrend. NovaTrend is using Litespeed.
In that try described here I uploaded 3 files inside one request with 400 MB. My upload…

Ilario Engler
- 2,419
- 2
- 27
- 40
2
votes
3 answers
OpenLitespeed htaccess
I'm a new user of OpenLitespeed web server. Previously I used Apache for my web server. Now, I'm getting confused about .htaccess for security purpose in OpenLitespeed.
Below my .htaccess rule works great in Apache
IndexIgnore *.css *.js *.png…

Faiz H
- 21
- 1
- 3
2
votes
1 answer
PHP headers not set with litespeed (but work with apache)
On my local development (vagrant, apache, ubuntu) I have no problem setting Access-Control-Allow-Headers using PHP headers function.
But in production, Litespeed on CENTOS 6.7. The php header function is ignored and the Access-Control-Allow-Headers…

Patrick_Finucane
- 725
- 1
- 7
- 24
2
votes
5 answers
What do you think about this weird idea about how to configure development/staging/production instances?
I just got a weird idea about how to configure environment-dependent parameters. Sort of like parameters you can find in Rails' config/database.yml
In my current project I use PHP and Litespeed Web Server (though the same technique applies to PHP +…

Yurii Rashkovskii
- 1,122
- 1
- 10
- 20
2
votes
1 answer
Large File Upload Memory Issue PHP
I recently took over a file hosting site (similar to rapidshare, megaupload etc.) and currently averaging about 75k visitors/day. After the migration, we wrote our own system from scratch. It's now time to upgrade the infrastructure and have been…

Bill
- 51
- 4
2
votes
1 answer
PHP 403 Forbidden While Posting HTML
I'm using a PHP code to insert content to MySQL database.
I use tinyMCE editor for content editing.
The problem is, when I use some HTML tags in content, server sends me 403 - Forbidden
But if I get rid of HTML tags; I can insert my content, read…

Diga
- 481
- 2
- 9
- 20
2
votes
5 answers
htaccess doesn't work in litespeed
I use the following rewrite on my site and it worked fine in shared server.
RewriteEngine On
Order Deny,Allow
Deny From All
order allow,deny
deny from all
satisfy all
…

navid
- 823
- 2
- 11
- 29
2
votes
1 answer
Can you see what scripts are using the most CPU in Cpanel?
I run a fairly active Wordpress blog and in the last 24 hours or so my CPU usage has been around 60 - 100%. My host claims not to be able to tell me what is causing these spikes but they tell me just to experiment with uninstalling various…

skarz
- 214
- 4
- 12
2
votes
1 answer
APC: apc_fetch returns false often, but sometimes success
APC Version : 3.1.9.
PHP Version : 5.2.17
i use Litespeed
DEFAULT PHP: 5
PHP4 SAPI: cgi
PHP5 SAPI: dso
SUEXEC: enabled
I create 2 file.
First file, set apc var :
Second file, try…

Sempa
- 308
- 2
- 8
2
votes
1 answer
should redirect to www cause a one second delay?
I am using Magento 1.6.2.0 on a shared host running Litespeed web server, and I have begun investigating ways to speed up page loads. Currently I am using Pingdom to look at requests and it appears that I am losing an entire second from the get-go…

grok_in_full
- 370
- 3
- 18