Softaculous detects the php version before installing the script if it doesn't meet the php requirement then Softaculous gives the warning and also gives the checkbox to enable the supported php version.
And by default Softaculous gives the most recent version to install for all scripts.