I am using debian 9 and virtualmin.
I am trying to migrate one web site to PHP7 but I want the other web sites to keep using whatever PHP they are using.
I first installed the php7 using this:
aptitude install php7.0 php7.0-mysql php7.0-cgi
aptitude install libapache2-mod-php7.0
When I go here
Virtualmin -> Server Configuration -> PHP Versions:
This virtual server is using the mod_php or FPM execution mode for PHP, such does not allow per-directory version selection.
So I tried to fix this using:
Virtualmin -> Server Configuration -> Website Options:
PHP script execution mode [X] Apache CGI
But then I get 'Internal Server Error' when I load the web site.
In the log, I see this:
... AH01215: suexec policy violation: see suexec log for more details: ...
... End of script output before headers: php7.0.cgi
Not sure what to do next.