PHP version issues

Tried to install new Invoice Ninja v4.5.14 with PHP73 on CentOS 7.6. When I tried to run connect to the page I got a “Something went wrong error”. I read the requirements and say only PHP7.2 support. So I tried to install PHP72 and set that as default php. But when I connect I now get “Bad Gateway” error. In the nginx log file I see the following:

2019/08/08 10:42:47 [crit] 11244#0: *2 connect() to unix:/var/run/php71-fpm-ninja.sock failed (2: No such file or directory) while connecting to upstream, client:, server:, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php71-fpm-ninja.sock:”, host: “”

why is it trying to use PHP71?

NVM, I found the issue. Was with the ninja.conf file under /etc/nginx/conf.d that was listing the php71 version. I copied that from another server which was running php71.