diff options
Diffstat (limited to 'docs/php/environment.md')
-rw-r--r-- | docs/php/environment.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/php/environment.md b/docs/php/environment.md deleted file mode 100644 index 6ad788af..00000000 --- a/docs/php/environment.md +++ /dev/null @@ -1,21 +0,0 @@ -# Environment configuration -All RoadRunner workers will inherit the system configuration available for the parent server process. In addition, you can -customize the set of env variables to be passed to your workers using part `env` of `.rr` configuration file. - -```yaml -server: - command: "php worker.php" - env: - key: value -``` - -> All keys will be automatically uppercased! - -### Default ENV values -RoadRunner provides set of ENV values to help the PHP process to identify how to properly communicate with the server. - -Key | Description ---- | --- -RR_MODE | Identifies what mode worker should work with ("http", "temporal") -RR_RPC | Contains RPC connection address when enabled. -RR_RELAY | "pipes" or "tcp://...", depends on server relay configuration. |