Files not found when running initial install on SuiteCRM 8.2

I am using the Install guide for 8.2 and trying to follow it. When I try the install.php, I get the following errors in the Apache log.

Mon Oct 24 19:57:22.998546 2022] [core:info] [pid 1530240] [client 127.0.0.1:36202] AH00128: File does not exist: /var/www/html/suitecrm/public/legacy/themes/suite8/css/animation.css, referer: http://localhost:8080/legacy/install.php
[

and also:

[Mon Oct 24 19:57:53.340813 2022] [php:error] [pid 1522316] [client 127.0.0.1:43744] PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in /var/www/html/suitecrm/public/legacy/install/performSetup.php on line 782, referer: http://localhost:8080/legacy/install.php

any ideas on what I have set wrong?

Thanks for any help. Ed