shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

Define "error_reporting" via environment variable #171

Closed Zerotask closed 2 years ago

Zerotask commented 2 years ago

Is your feature request related to a problem? Please describe. Shopware/Symfony are throwing a lot of deprecated exceptions lately which makes it hard to read log files.

Describe the solution you'd like a simple env var to set a custom error_reporting for PHP (or any other similar solution). And yes I know how to create my own image based on your image and modify it on my own, but that's not what I want to do.

Additional context Using 6.4.16.0-php8.0

shyim commented 2 years ago

You can just create a php.ini in your project :)

https://github.com/shyim/shopware-docker/wiki/Project-specific-Configuration#changing-php-configuration