Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

its working #37

Open
rafalohaki opened this issue Jan 11, 2023 · 4 comments
Open

its working #37

rafalohaki opened this issue Jan 11, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@rafalohaki
Copy link

rafalohaki commented Jan 11, 2023

its working tbh.
have installed wordpress on it without problems
volume binding is working
variable for user and password change would be great or remember password after replace(idk which file to bind to volume tho)
used /usr/local/lsws/admin/misc/admpass.sh to do it
and volume edit for html folder and php config folder
and installing additional extensions to php would be great. for example phpxml is missing for some wp extensions to work
there is no wget and curl installed

my modify to work good.
wp-config.php added define('FS_METHOD','direct');
binded volume /var/www/vhosts for html files and /usr/local/lsws/lsphp82/etc/php/8.2/litespeed for php config

@timnolte timnolte self-assigned this Jan 14, 2023
@timnolte timnolte added the enhancement New feature or request label Jan 14, 2023
@timnolte
Copy link
Member

@rafalohaki just an FYI, that the latest image should have the XML support. A note that this image is completely built from source, and it's a Docker image meant to just run. What this means is that by the very nature of it being a Docker image it's not really possible to provide the functionality of allowing you to add additional PHP extensions after the image is built.

Can you also note what your use case is for needing wget & curl? One of the things I worked very hard at with this Docker image is to keep the size as small as possible. This Docker image is not intended to be a full server with everything one could possibly desire to have on a server. I do want to make sure that it does in fact have everything needed to run most WordPress sites.

@rafalohaki
Copy link
Author

for wget and curl, i was just trying to recompile php from openlitespeed panel. it asked me for installing wget and curl. compiling wasnt working even after it, idk why. the image itself is great tho.

@timnolte
Copy link
Member

timnolte commented Jan 14, 2023

@rafalohaki so I don't think you can actually use the OLS dashboard to install additional PHP versions or extensions. I'm pretty sure that it tries to install the binary packages that are pre-built by LiteSpeedTech and hosted in their own package repository. I wouldn't recommend it anyways as Docker is immutable and if you were to restart the container the custom installed PHP version would be gone. It is recommended to run a new container with a different PHP version if you need it. My images are currently built for PHP 8.0/8.1/8.2. If you need a PHP 7.4 image I could consider that but it is EOL so I opted not to provide a 7.4 image.

@timnolte timnolte added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jan 21, 2023
@timnolte
Copy link
Member

The remaining items mentioned are more or less items that can be addressed through documentation. The items aren't really documented in the official image either. I will look to expand the README at some point to provide guidance on some of these items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants