Symfony putenv() has been disabled for security reasons


#1

Hello everyone !

I want to deploy my symfony 4.1 project but after uploding files i have this error

(1/1) ErrorException
Warning: putenv() has been disabled for security reasons

in
vendor/symfony/dotenv/Dotenv.php on line 80

Please any issu for this ?


#2

putenv is not available on the free plan! :frowning:


#3

Ok sorry I did not know.

Please do you know how to solve this problem differently?


#4

Not really :frowning:
I know premium http://hostinger.com has putenv enabled…

You could try alternative free hosting otherwise?