In order to install the latest version of mediawiki, I tried to provision PHP7.4 from WHM -> EasyApache 4, but it failed. I was able to uninstall all PHP, but not cannot load any version. Get errors:
[2022-02-18 18:38:55 +0000] info [xml-api] The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/[login to view URL] -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 1522) reported error number 1 when it ended.
[2022-02-18 18:38:55 +0000] info [xml-api] Configuration problem detected on line 11 of file /etc/apache2/conf.d/[login to view URL]: ModSecurity: Failed to open the audit log file: /etc/apache2/logs/[login to view URL]
and more. Need help fixing server and upgrading PHP so I can install latest version of Mediawiki.