You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[💡 FEATURE REQUEST]: environment variables in the config #205
Set environment variables for workers in rapira.toml, like env[] in a PHP-FPM pool or server.env in RoadRunner.
Today workers get only the environment of whoever runs rapira serve. So a Symfony project picks the runtime either in composer.json (extra.runtime.class) or with a wrapper around the launch command (rapira-rs/symfony#1 (comment)).
Behaviour
The values are set in the worker environment before PHP starts and win over inherited ones, so getenv(), the boot-time $_SERVER and $_ENV agree.
An invalid name or value refuses to boot.
To weigh
Classic mode: whether the variables also go into each request's $_SERVER, as under PHP-FPM.
Activity