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
Post a Comment