I wouldn't trust AI to be your guiding light. For example, just at a quick glance, it is giving you the wrong ownership for the PHP socket. It should be:
chown root:nobody /opt/alt/php-fpm74/usr/var/sockets/<username>.sockAnd seemingly, it isn't telling you to initially create the <username>.conf file for each user account with the correct user & group within, as well as the correct paths? Even with CWP Pro, you have to manually create the php-fpm user conf files for each PHP version.
[username]
listen = /opt/alt/php-fpm74/usr/var/sockets/username.sock
listen.allowed_clients = 127.0.0.1
;listen.owner = "username"
listen.group = "nobody"
listen.mode = 0660
user = "username"
group = "username"
;request_slowlog_timeout = 15s
;slowlog = /opt/alt/php-fpm74/usr/var/log/php-fpm-slowlog-username.log
pm = ondemand
pm.max_children = 4
pm.max_requests = 4000
pm.process_idle_timeout = 15s
;listen.backlog = -1
;request_terminate_timeout = 0s
rlimit_files = 131072
rlimit_core = unlimited
catch_workers_output = yes
env[HOSTNAME] = $HOSTNAME
env[TMP] = /home/username/tmp
env[TMPDIR] = /home/username/tmp
env[TEMP] = /home/username/tmp
env[PATH] = /usr/local/bin:/usr/bin:/binAny reason you're looking at php 7.4? Unless you have older WordPress themes/extensions that require it for full compatibility, it is EOL and probably contains security vulnerabilities. Look to 8.1 if you are using WP, or 8.3 if you need a fully supported PHP version.