Posted: November 15, 2018 at 10:32 am
|
Was planning to migrate to PHP 7.2 but after a scan, it is reporting a bunch of errors (not Warnings). I’m running the most recent version of EE 4. https://gist.github.com/lorenzocaum/af063fc64ac6f413e708fd218f480215 Are these erorrs legit or does EE support PHP 7.2? Thanks |
Hi there
They are false positives, in short the scanner is looking for functions within the files, not if they are actually used or not.
False positive, DOMPDF (which we use to generat PDF’s) is backwards compatible and checks for various modules, cpdf being one of them, if newer libraries are available, it uses those.
False positive, EE itself is backwards compatible for PHP 5.4, it’s checking if ‘mysql_’ is in use, if not, it doesn’t try to use it.
Same as above.
All false positives, again EE is checking for which encryption library is available and uses the latest, it falls back to older modules if that’s all that is available. — We (the support and dev team) run EE on PHP7.2 (and older versions) during testing, sometimes a notice will be thrown with PHP7+ as functions get deprecated, however, we fix those before they actually become an issue (for example we update to use a different function way before the deprecated functions are removed from PHP). |
|
|
Awesome! Thanks, just wanted to get the official response from you guys before making the move. Thanks so much! |
You’re most welcome. You’ll likely see a good improvement on the site overall, we’ve seen some instances of switching to PHP7+ reducing the site latency of up to 50%. It does depend on all of the code you are running on the site but its usually a noticeable difference either way. |
|
The support post ‘PHP 7.2 Errors’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.