DOC Surpress deprecation warnings on php7.4

This commit is contained in:
Steve Boyd 2021-08-13 11:55:30 +12:00
parent f7f8f0b4e1
commit 5018f448a9

View File

@ -15,6 +15,13 @@ Our web-based [PHP installer](installation/) can check if you meet the requireme
## Web server software requirements ## Web server software requirements
* PHP 7.1 or newer (no support for PHP 8) * 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). * 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. * 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.