To list available PHP versions to install run
plesk installer --select-release-current --show-components
And to install PHP 7.4, run
plesk installer --select-release-current --install-component php7.4
And to install PHP 8, run
plesk installer --select-release-current --install-component php8.0