From 5018f448a9c0706548395dc9b6474af4d8a0c0e1 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 13 Aug 2021 11:55:30 +1200 Subject: [PATCH] DOC Surpress deprecation warnings on php7.4 --- docs/en/00_Getting_Started/00_Server_Requirements.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/en/00_Getting_Started/00_Server_Requirements.md b/docs/en/00_Getting_Started/00_Server_Requirements.md index 4c3a443b7..eb286f6c8 100644 --- a/docs/en/00_Getting_Started/00_Server_Requirements.md +++ b/docs/en/00_Getting_Started/00_Server_Requirements.md @@ -15,6 +15,13 @@ Our web-based [PHP installer](installation/) can check if you meet the requireme ## Web server software requirements * PHP 7.1 or newer (no support for PHP 8) +[warning] +Running CMS3 with PHP 7.4 triggers a number of deprecation warnings. +It's highly recommended you disable deprecation warnings. +For example, you can add the following to the bottom of your `_ss_environment.php` file: +`error_reporting(E_ALL & ~E_DEPRECATED);` +Read the [`error_reporting` PHP documentation](https://www.php.net/manual/en/function.error-reporting.php) +[/warning] * We recommend using a PHP accelerator or opcode cache, such as [xcache](http://xcache.lighttpd.net/) or [WinCache](http://www.iis.net/download/wincacheforphp). ``` * Note: Some PHP 5.5+ packages already have [Zend OpCache](http://php.net/manual/en/book.opcache.php) installed by default. If this is the case on your system, do not try and run additional opcaches alongside Zend OpCache without first disabling it, as it will likely have unexpected consequences.