I use the standard .env file with CodeIgniter 4. In addition, I want to use some information from a React application that is hosted on the same server.
How can I use /root/ci4/.env together with /root/react/.env so that I can use getenv('REACT_APP_FOO'); in my application?
The REACT_APP_* variable names will not exist in the /root/ci4/.env file, for sure.