Environment Variables
What this is
Environment variables let you store configuration values (like API keys, database URLs, or feature flags) outside your code. Your application reads them at runtime.
How to set environment variables
- Go to Websites → click your website → Advanced → Developer Tools.
- Find the Environment variables section.
- Add your variable name and value.
- Save.
Good to know
- This feature may need to be enabled on your hosting plan. If you don't see it, contact representative@trustedge.gt.
- Environment variables are available to your website's PHP and application runtime.
- Common uses include storing API keys, toggling debug modes, and configuring external service connections.
Related articles
- What lives under Developer Tools
- Node.js and other application runtimes
Thank you for your feedback.
Sorry about that :( We'll work to make it better.
You voted before.
(234 times viewed / 0 people found it helpful)