I've installed PHP 7.0, Apache2, all of the required PHP extensions, and successfully setup the MySQL database. I've also ensured that the php.ini file is configured to enable file uploads and the extensions mentioned in the guide.2.4. Configure the Webserver (Apache)
Please find the file /etc/httpd/conf/httpd.conf or equivalent and make the following changes to it:
# Load config files from the config directory "/etc/httpd/conf.d".
Include conf.d/*.conf
Now, please locate the PHP configuration file at /etc/httpd/conf.d/php.conf
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
LoadModule php_module modules/libphp.so
#
# Cause the PHP interpreter to handle files with a .php extension.
AddHandler php-script .php
AddType text/html .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
DirectoryIndex index.php
Any ideas?
EDIT:
'httpd.conf' doesn't exist anymore according to what I'm finding. When I try to apt-get httpd, it just says that's not a valid package and suggests other web servers like Apache2 instead. Does anyone have any ideas? I'd love to get Cacti 1.0.4 working, but it's still a no-go. Yes, as you can probably tell, I'm a complete n00b with installing this manually. The last Cacti I installed was through apt-get which is NOT 1.0.4, currently, it's 0.8.8h.