PDA

View Full Version : [server] Upgrade to 16.04: PEAR not php7 compliant



brilyant
August 3rd, 2016, 08:59 AM
Following an otherwise successful 14.04 - 16.04LTS upgrade the installed PEAR claims compatibility with php 4 & 5, but not 7.

This shows up with "PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback" in the Apache error log.

What can I do to get a php7-compatible PEAR installed?

brilyant
August 4th, 2016, 06:54 PM
I can't find any sign of a PEAR packaged designed to be compatible with php7.

BUT, just editing the IT.php file as suggested by the Apache error log got round this particular hitch. Gets me out of a hole - I hope there won't be other holes for me to fall into.