mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10043 from creative-commoners/pull/3/php74-deprecation
DOC Surpress deprecation warnings on php7.4
This commit is contained in:
commit
52f9e28131
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user