Cacti on php 7.4

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti on php 7.4

Post by cigamit »

[root@zeus ~]# php -f /home/zeus/cacti/index.php
Looks like your in /root instead of the base of the cacti install.

do a

Code: Select all

cd /home/zeus/cacti
before trying to run that command from the command line. The includes use relative paths (to where you are, not the files)
battossai
Posts: 22
Joined: Sun Sep 27, 2015 11:46 pm

Re: Cacti on php 7.4

Post by battossai »

i used php from remi packages.
other web script is running well, like phpmyadmin

if the setup is wrongm any idea how to debug it ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti on php 7.4

Post by TheWitness »

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...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests