How disable mod_php entirely on Debian 9

Joe, you mentioned in one of your posts that we should "disable mod_php entirely"...

Could you elaborate?

To disable mod_php entirely on Debian 9... I am using FPM for all domains... is it as easy as:

sudo apt remove libapache2-mod-php libapache2-mod-php7.0

??? Thx!



Howdy -- I'd just disable the PHP Apache module located in /etc/apache2/mods-enabled... I don't recall the exact name, but if you share the directory listings for that directory I can give you the command line.