Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Well, unless you are a developer or know a whole lot about what you are doing, you really have no business running something other than the PHP that comes with the OS. So, that's the first thing I would do. Then Cacti literally just works. Just use the documentation on Github.com that talks about installing Cacti on CentOS/RHEL. It's that easy. Also, for NGINX, you install should be in /var/data/www/cacti and for Apache it should be in /var/www/html/cacti.
True understanding begins only when we realize how little we truly understand...