The AddHandler line is sufficient. The IfModule is a conditional wrapper. It tell the server "if the Apache MIME module is installed and active (which means AddHandler is supported) then apply the AddHandler line". However, you already know that your server does have the Apache MIME module is installed and active, otherwise you wouldn't have multiple PHP versions, therefore you can skip the conditional wrapper.
As to how to find the correct AddHandler line. Use your hosting control panel to set up the PHP version you want to use. Open the .htaccess file. You will see the AddHandler line there. Copy that to the .htaccess Maker's custom code to add at the bottom of the file. That's all.
This is not something that is specific to the .htaccess Maker, mind you. Most servers these days support multiple PHP versions. The way you enable a specific PHP version is telling Apache to handle .php files using that version of PHP. This typically happens with an AddHandler or SetHandler line. There are other ways but they are far less common.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!