This works without changing PHP for whole server! Port 9071 is for PHP71, you may also use 9070, 9056 or 9000 for default. This way the Email Addresses link in http-admin still works.
Just put this snippet in your apache config file in the Directory directive
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9071"
</FilesMatch>
I tested it with moodle and it works with the php-fpm method (thanks to @davidep) but still not in a Nethserver vhost because of missing CSS. With Joomla we have similar CSS problems in a vhost, see this thread.
I’ll post my moodle.conf in the moodle howto thread.