PayumServer icon indicating copy to clipboard operation
PayumServer copied to clipboard

Fatal error: Uncaught RuntimeException: APP_ENV environment variable is not defined.

Open sl45sms opened this issue 7 years ago • 0 comments

On Latest Docker we get from Symfony:

Fatal error: Uncaught RuntimeException: APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file. in /payum/public/index.php:13 Stack trace: #0 {main} thrown in /payum/public/index.php on line 13

In Docker $_ENV var used to retrieve environment variables.

May it is related with this https://github.com/symfony/recipes/issues/331

sl45sms avatar Jul 13 '18 06:07 sl45sms