Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
How to use  PHP environment variables (REDIRECT_)
This guide explains how to use PHP environment variables with our new hostings that work in php-fpm.
Here's how to use PHP environment variables:
- Define the PHP environment variables in a .htaccess file: SetEnv EXEMPLEVARIABLE hello
- In your PHP file, the variable name to be called must be prefixed by REDIRECT_
In this example , the result displayed will be hello.
Link to this FAQ: