CMS Version
1.8.5
Installation Method
Custom install
Operating System
Linux
PHP Version
7.4.16
Issue
Hi community
I’m trying to upgrade from version 1.8.5 to version 2.3.10. Therefore I deleted the old installation and unpacked the .tar file into the installation directory. Then I copied the old settings.php to the web-directoy. After that I ran the following command via ssh: “php -f vendor/bin/phinx migrate -c phinx.php” but the script throws an error:
PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’ in /var/www/vhosts/mydomain.de/xibo.mydomain.de/vendor/symfony/console/Application.php on line 124
Does anyone have any idea where the problem could be?