why not like this? php-7.4 is working with nc18.
https://support.plesk.com/hc/en-us/articles/115000769793--How-to-install-remove-additional-PHP-versions-provided-by-Plesk