Search results

  1. Kvatch

    getenv('MY_VAR') in PHP in docker images not working

    I use the image litespeedtech/openlitespeed:1.8.1-lsphp82 and in the process of building the image I add various environment variables via services.env file (see the docker stuff below). In PHP I'd need those values via getenv(). For example to retrieve an API-key. But these calls always return...
Top