Error 500 after Installing Horde Script

Operating system: Ubuntu Linux
OS version: 20.04.2

I installed Horde (v3.3.13) to a clients website and when I went to the created directory www..com/horde/ I receive a HTTP ERROR 500.

But I initially setup Roundcube and that URL works fine.

Any suggestions?

Can you provide the relevant entries from the error log?

Here is what was in the log file after attempting to access the .com/horde/

[Thu Jul 08 10:16:04.612605 2021] [fcgid:warn] [pid 1629337] [client] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/liberty/public_html/horde/pear/php/Log.php on line 169
[Thu Jul 08 10:16:05.471632 2021] [fcgid:warn] [pid 1629553] [client] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/liberty/public_html/horde/pear/php/Log.php on line 169
[Thu Jul 08 10:16:05.599538 2021] [fcgid:warn] [pid 1629299] [client] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/liberty/public_html/horde/pear/php/Log.php on line 169
[Thu Jul 08 10:16:05.738394 2021] [fcgid:warn] [pid 1629493] [client] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/liberty/public_html/horde/pear/php/Log.php on line 169

And this is at Line 169 of horde/pear/php/Log.php

        $obj = &new $class($name, $ident, $conf, $level);

Ah ha I just noticed something that elluded me during the previous installation attempt.

Found http://scripts.virtualmin.com:80/horde-3.3.13.tar.gz in cache …

The PHP Pear modules Log Mail-1.1.14 Mail_Mime DB are required, but Pear for PHP version 7.4 is not installed - proceeding anyway.
Configuring webserver PHP settings …
… already done.

So I am assuming that I need to install PHP Pear modules Log Mail-1.1.14

Edit to add:

So I would need to install PHP Pear modules Log, Mail, Mail_Mime and DB? Did I read that correctly?

I have installed the PHP Pear modules Log, Mail, Mail_Mime and DB. Restarted Apache and that didnt work.

I then rebooted the server and it still didnt work. Any thoughts and suggestions?

Still receiving this error upon installing the Horde script

The PHP Pear modules Log Mail-1.1.14 Mail_Mime DB are required, but Pear for PHP version 7.4 is not installed - proceeding anyway.