I hope I post this in the correct forum.
I tried to install phpBB 4.0.0-a1-dev for testing. But installing the dependencies give this error:
Code: Select all
-sh-4.2$ php ../composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 80 installs, 0 updates, 0 removals
- Installing ocramius/package-versions (1.4.0): Loading from cache
PHP Warning: Unsupported declare 'strict_types' in /var/www/vhosts/solidjeuh.be/httpdocs/scripts/phpbbtest/repo/phpBB/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 3
Warning: Unsupported declare 'strict_types' in /var/www/vhosts/solidjeuh.be/httpdocs/scripts/phpbbtest/repo/phpBB/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 3
PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /var/www/vhosts/solidjeuh.be/httpdocs/scripts/phpbbtest/repo/phpBB/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 20
Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /var/www/vhosts/solidjeuh.be/httpdocs/scripts/phpbbtest/repo/phpBB/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 20
Code: Select all
System: Linux 3.10.0-042stab136.1
Web Server: Apache
PHP: 7.2.18
Database server: MySQL(i) 5.5.60-MariaDB
Operating system: Redhat
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz