That was the last update, maybe I messed it up, its working locally for.
Is the apache log you posted right after a reboot or was the Pi running for awhile.
One thing I just thought of is that the configs are from the admin section which uses /admin/includes/conn.php to connect to the database, make sure that has the correct settings in it. (I know that 2 different places doesn't make sense, but its simplified from the original)
conn.php:
<?php
//show/hide SQL statements in errors
//$showSqlState = true;
$host="localhost"; // Host name
$username="Erik"; // Mysql username
$password="ikdi6317"; // Mysql password
$db_name="Rpints"; // Database name
$tbl_name="users";
//Connect to server and select database.
$mysqli = new mysqli("$host", "$username", "$password", "$db_name") or die("cannot connect to server");
?>
config.php:
<?php
function db() {
return new mysqli('localhost', 'Erik', 'ikdi6317', 'Rpints');
}
$rpintsversion="2.9.0.1";
?>
Rebooted now, attempted to open, apache2.log:
pi@rpints:~ $ tail -F /var/log/apache2/error.log
[Sun Jul 12 00:00:55.416313 2020] [mpm_prefork:notice] [pid 610] AH00163: Apache/2.4.38 (Raspbian) mod_python/3.3.1 Python/2.7.16 configured -- resuming normal operations
[Sun Jul 12 00:00:55.416351 2020] [core:notice] [pid 610] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 12 05:38:17.853235 2020] [mpm_prefork:notice] [pid 610] AH00169: caught SIGTERM, shutting down
[Sun Jul 12 05:38:29.790738 2020] [:error] [pid 628] python_init: Python version mismatch, expected '2.7.15', found '2.7.16'.
[Sun Jul 12 05:38:29.814085 2020] [:error] [pid 628] python_init: Python executable found '/usr/bin/python'.
[Sun Jul 12 05:38:29.814144 2020] [:error] [pid 628] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Sun Jul 12 05:38:29.814200 2020] [:notice] [pid 628] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 12 05:38:29.814218 2020] [:notice] [pid 628] mod_python: using mutex_directory /tmp
[Sun Jul 12 05:38:30.120152 2020] [mpm_prefork:notice] [pid 628] AH00163: Apache/2.4.38 (Raspbian) mod_python/3.3.1 Python/2.7.16 configured -- resuming normal operations
[Sun Jul 12 05:38:30.120331 2020] [core:notice] [pid 628] AH00094: Command line: '/usr/sbin/apache2'