New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Comments
Can you try with these config params:
thanks everthing works as expected but
i want to install php-redis extension from https://github.com/phpredis/phpredis/blob/develop/INSTALL.md
i tried to compile but not working...
please any idea how to enable phpredis extension (.so file)
Can you define "not working"? I can't help you without any logs.
Also why not use memcached rather than redis caching?
Thanks for providing some of these details for compiling on arm64. I'm currently working on finalizing an arm64 Docker image based on Debian 11, I'm getting close to having everything working. I was able to successfully setup the
admin_phpusing PHP 8.0.Hello, thank you for this post. I could easily install Open Lite Speed on Oracle Cloud. However, I'm having trouble trying to install Wordpress. Could you please guide me on the way? @FatGrizzly
Thank you. You're amazing
Can you let me know what error your'e facing. If you are on discord, reach me at FatGrizzly#5803
I tried to install following this tutorial here https://upcloud.com/resources/tutorials/install-wordpress-openlitespeed
I followed from "Configuring OpenLiteSpeed" and using logic I changed the directories from php74 to php56 because it was installed in your tutorial.
May you tell what could possibly went wrong?
Thank you
php56 is only for admin panel, you have to compile desired php from admin/webadmin for your sites
I got pretty far in setting up Wordpress on this setup but in the end had to abandon it and go back to Apache. The OpenLiteSpeed PHP installs don't (didn't) have things like JPG or PNG support enabled on GD so while Wordpress looked like it was working it couldn't create any thumbnails.
I tried compiling JPG and PNG support into GD from source and managed to get one working but not the other.
So close, but it felt that every time I fixed one issue another one cropped up.
I can probably package a custom built php for litespeed with wp support, i just don't have the time and resources atm.
I'll look into it in near future
I have a fully working OLS build for arm64, but in a Docker container (https://github.com/ndigitals/ols-dockerfiles), that has all of this built and I'm currently running a WordPress install on it here: https://ndigitals.dev
Awesome! Thanks for your contribution!
Oops, actually that website isn't the WordPress install but one of the other vhosts in the OLS instance. This is actually one of the other vhosts with a WordPress install: https://www.oidcwp.net/
Hello,
I managed to install it using yours. However, whats the default login and password of the OpenLiteSpeed WebAdmin panel?
I am stuck at this point
@elementttt you should be able to shell into the image and the credentials should be in
/usr/local/lsws/adminpasswordor you can use/usr/local/lsws/admin/misc/admpass.shto set it to whatever you like.It's saying folder not found.
However the Litespeed web server was initiated correctly on docker
You can check on https://134.65.249.233:7080/login.php
@elementttt what command are you using the shell into the container? If I just use Docker on my arm64 instance the directory it there.
docker run -it --rm --entrypoint /bin/bash ndigitals/openlitespeed:1.7.16-lsphp80or if I use my Portainer management instance it is also there:With your guide I could find the path and change the password. Howerver I'm still unable to login because it keeps saying invalid credentials no matter how many times I change the password
I tried setting permissions 644 on htpasswd but still nothing
Also I checked and the "cat /usr/local/lsws/admin/conf/htpasswd" changes the token everytime I set a new password.
Maybe it is because of lack of SSL? Do I need to set a domain first with SSL?
*LiteSpeed? No thanks, i'm good with nginx.
@TrK your comment provides no value to this topic. How about you go find someone who wants to use Nginx and help them.
@elementttt the file
/usr/local/lsws/admin/conf/htpasswdis not the admin password file, that file is for basic auth. And the file/usr/local/lsws/adminpasswordis just where the default username & password are saved for reference during the OLS source build. I actually think that the way my build is happening though that the password there is not actually what is being set. And you'll need to use the command script to set one. The other thing is how are you starting up the Docker container? Are you mapping some of the container paths to a volume or your local filesystem? If you aren't doing one of those things then every time you restart the container you'll lose everything.@elementttt it would also be helpful to know which of my images you are running as there are 3 of them for each of PHP 8.0/8.1/8.2. I'd you are just pulling the "latest" tag then that would be the PHP 8.2 image. LiteSpeedTech also provides a Docker Compose setup that explains more into using the Docker image and setting the paths. https://github.com/litespeedtech/ols-docker-env
You might have an easier go of things if you use my image along with their Docker Compose setup.
@elementttt just wanted to follow up with some examples of the paths that should be mapped to either volumes or host file system paths.
In the LiteSpeedTech
docker-compose.ymlfile it is these paths:In my Portainer setup I am using the following paths:
How to do that? I'm afraid I'm just starting the container
@elementttt I would probably recommend using the LiteSpeedTech Docker Compose setup(https://github.com/litespeedtech/ols-docker-env) as a starting point, as that will give you a configuration file you can use to maintain the mappings and configuration. You can adjust their
docker-compose.ymlto use my Docker image to support arm64 and also not start-up a MariaDb/MySQL container of you have a database installed locally on your arm64 instance.The other option instead of using Docker is to follow my build process to get things compiled directly on your arm64 instance without Docker involved. I decided to go the Docket container route for my entire setup and it is working out well enough for me, but I've been working with Docker for a couple of years so I can manage it alright.
If you want to continue down the Docker route I would highly suggest looking at some tutorials & training on the management and use of Docker to help you out with some of the setup and use.
@elementttt one final note is that LiteSpeedTech provides some additional Docker documentation on their website that might also be helpful: https://docs.litespeedtech.com/cloud/docker/
@Arkas this guide is outdated now, LSWS has aarch php binaries. May you please remove the php part from OP?
@FatGrizzly oh, when did they release arm64 PHP binaries?
Would you please provide link or information about it?
I messaged some LiteSpeedTech folks on Slack and I was told that there is only admin lsphp available. There aren't general lsphp packages available and those still need to be built from source.