PHP:
Wordpress recommends staying on the latest versions of PHP. I also installed phpMyAdmin 4.9.6 on both servers so I could work better with MariaDB 10.4.x. No one should allow root access to the SQL Database server. I created several php web pages that are protected for my Fortinet 60E hardening project. This project is over 1 year old. I have a MariaDB database with several tables that have the parsed results for my Fortinet 60E firewall syslogs. They have SQL users with Select and Insert rights to the database. I created a set of php files to display the information on
DoS attacks are organized by the results for last 10 days, 12 month totals, and 10 years of totals.
GeoFencing Policy are organized by the results for last 10 days, 12 month totals, and 10 years of totals.
Intrusion Prevention attacks have two tables by severity level and highest attack totals.
I moved them from the main web page to another location and use an include statement in a php file to point to them. I checked the source code to see what the SQL links point to verify the code is protected. SQL user passwords have been hardened.