Merge pull request #10043 from creative-commoners/pull/3/php74-deprecation

DOC Surpress deprecation warnings on php7.4
This commit is contained in:
Maxime Rainville 2021-08-17 17:18:08 +12:00 committed by GitHub
commit 52f9e28131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.