From 46e7d795c0ff7623e36d7be066f29056adf77586 Mon Sep 17 00:00:00 2001 From: Gunnstein Lye <289744+glye@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:58:08 +0200 Subject: [PATCH] IBX-8506: Disabled display_errors in Cloud (#78) --- resources/platformsh/ibexa-commerce/3.3/.platform.app.yaml | 5 ++++- resources/platformsh/ibexa-content/3.3/.platform.app.yaml | 5 ++++- resources/platformsh/ibexa-experience/3.3/.platform.app.yaml | 5 ++++- resources/platformsh/ibexa-oss/3.3/.platform.app.yaml | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/resources/platformsh/ibexa-commerce/3.3/.platform.app.yaml b/resources/platformsh/ibexa-commerce/3.3/.platform.app.yaml index 0d52d47..aab55d1 100644 --- a/resources/platformsh/ibexa-commerce/3.3/.platform.app.yaml +++ b/resources/platformsh/ibexa-commerce/3.3/.platform.app.yaml @@ -42,7 +42,10 @@ relationships: variables: php: # Example of setting php.ini config - #"display_errors": "On" + # Display of errors should be disabled in production. + display_errors: Off + display_startup_errors: Off + memory_limit: 512M # The default OPcache configuration is not suited for Symfony applications opcache.memory_consumption: 256 diff --git a/resources/platformsh/ibexa-content/3.3/.platform.app.yaml b/resources/platformsh/ibexa-content/3.3/.platform.app.yaml index f6ca04d..bf2164d 100644 --- a/resources/platformsh/ibexa-content/3.3/.platform.app.yaml +++ b/resources/platformsh/ibexa-content/3.3/.platform.app.yaml @@ -42,7 +42,10 @@ relationships: variables: php: # Example of setting php.ini config - #"display_errors": "On" + # Display of errors should be disabled in production. + display_errors: Off + display_startup_errors: Off + memory_limit: 512M # The default OPcache configuration is not suited for Symfony applications opcache.memory_consumption: 256 diff --git a/resources/platformsh/ibexa-experience/3.3/.platform.app.yaml b/resources/platformsh/ibexa-experience/3.3/.platform.app.yaml index f6ca04d..bf2164d 100644 --- a/resources/platformsh/ibexa-experience/3.3/.platform.app.yaml +++ b/resources/platformsh/ibexa-experience/3.3/.platform.app.yaml @@ -42,7 +42,10 @@ relationships: variables: php: # Example of setting php.ini config - #"display_errors": "On" + # Display of errors should be disabled in production. + display_errors: Off + display_startup_errors: Off + memory_limit: 512M # The default OPcache configuration is not suited for Symfony applications opcache.memory_consumption: 256 diff --git a/resources/platformsh/ibexa-oss/3.3/.platform.app.yaml b/resources/platformsh/ibexa-oss/3.3/.platform.app.yaml index 7d4451e..732a19a 100644 --- a/resources/platformsh/ibexa-oss/3.3/.platform.app.yaml +++ b/resources/platformsh/ibexa-oss/3.3/.platform.app.yaml @@ -42,7 +42,10 @@ relationships: variables: php: # Example of setting php.ini config - #"display_errors": "On" + # Display of errors should be disabled in production. + display_errors: Off + display_startup_errors: Off + memory_limit: 512M # The default OPcache configuration is not suited for Symfony applications opcache.memory_consumption: 256