We had an older version of FengOffice that needed to be ported to a new Ubuntu server having PHP7. So with the older copy, we followed the update instructions and upgraded to version 188.8.131.52 without any issues.
We then proceeded to migrate to the new server that had a fresh install of Ubuntu LTS (16.04.3 LTS) and the basic LAMP packages.
Vanilla FengOffice 184.108.40.206 is NOT Php7 compatible, but with a bit of coding we were able to stitch it up to work.
Shout out to user “VL” on the FengOffice Forum, for getting the MySQLI library working!
1.) Update your install to 220.127.116.11
2.) Backup all of your PHP files.
3.) Make sure you have MBSTRING installed for PHP7.
4.) Copy the patch files (http://silvatechsolutions.com/fengphp7patches.zip) over your feng install directory
5.) Change your config.php to use the new mysqli data adapter:
Note that we do not use a significant amount of the features in FengOffice, so there are undoubtedly a lot of other things to be fixed for PHP7. Most that we found were “continues” that were in the middle of functions not within a loop/switch, which is a big no-no in PHP7 (we used a return in a function).