PHP7 compatibility with phpBB 3.1.x
Posted: Sat Sep 24, 2016 7:34 pm
long story short: not compatible.
I upgraded the server a bit ago, which included an auto-update to php7. Didn't auto-update all the modules, extensions, etc. I think I got all of them back in.
phpBB v3.1.x (which this forum runs on) isn't directly compatible with php7. Specifically, the mysql extension is now gone (switched to mysqli), and regex callback functions split to a separate php function (preg_replace_callback), rather than just the /e modifier in preg_replace. This broke bbcode functionality, amongst other things. I think I got things fixed up enough to keep working for now.
I'd update to the 3.2 release candidate (which supports php7), but the forum style hasn't been updated for 3.2 yet. So, until then, if something doesn't work please let me know and I'll try to patch it for the time being.
I upgraded the server a bit ago, which included an auto-update to php7. Didn't auto-update all the modules, extensions, etc. I think I got all of them back in.
phpBB v3.1.x (which this forum runs on) isn't directly compatible with php7. Specifically, the mysql extension is now gone (switched to mysqli), and regex callback functions split to a separate php function (preg_replace_callback), rather than just the /e modifier in preg_replace. This broke bbcode functionality, amongst other things. I think I got things fixed up enough to keep working for now.
I'd update to the 3.2 release candidate (which supports php7), but the forum style hasn't been updated for 3.2 yet. So, until then, if something doesn't work please let me know and I'll try to patch it for the time being.