litespeedtech / litespeedtech/openlitespeed
Passing system environment variables into LSAPI external app
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 233
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 5
Description
It seems I cannot pass a system (global) environment variable into a LSAPI app (LSPHP in my case):

I would need this very much in a docker based setup. I have the same image for dev, test and prod environments, whereas the database connection parameters differ per environment.
OLS version 1.8.3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by locating the LSAPI external-app configuration and tracing how system environment variables are passed to LSPHP; verify the behavior in the Docker-based development, test, and production setup described in the issue. Done means the differing database connection variables reach the LSAPI application without changing the shared image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100