Hello,
Nginx and Apache don’t read in /etc/environment.
You must create file with your env vars in specifics files :
- Nginx : /etc/default/nginx
- Apache : /etc/apache2/envvars
For PHP-FPM, try to configure clear_env = no in configuration.
Regards,
Mathieu