For a scratch installation, there are literally only 2 extra steps.
https://forums.fogproject.org/topic/7131/fog-on-ubuntu-16-04-php7/27