Are these erorrs legit or does EE support PHP 7.2?
They are false positives, in short the scanner is looking for functions within the files, not if they are actually used or not.
198 | ERROR | Extension ‘cpdf’ is removed since PHP 5.1; Use pecl/pdflib instead
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.
1629 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
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.
336 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
Same as above.
FOUND 22 ERRORS AFFECTING 10 LINES
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).
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.
Viewing 3 reply threads
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.
Support forum for Event Espresso 3 and Event Espresso 4.