php - Custom server environment variables without .htaccess -


what other options available setting environment variables?

many cloud platforms such heroku/cloudways/do etc have gui set environment variables, typically php frameworks symfony or lavavel.

an example

app_env=production

although can set these via .htaccess file using setenv app_env "production" looking find other ways these can persistently set. e.g don't things export app_env=production on cli or putenv() in php?

i ideally ideas work on shared hosting or cpanel servers if possible.

thanks


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -