Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Vanilla doesn't start after installation: PHP Parse error

Version: 3.3, downloaded today, 2020-03-20

PHP 7.3.16, Apache 2.4.6, MariaDB 5.5.64

I have copied the unzipped directory 'package' to /var/www and renamed it /var/www/vanilla. Everytime I go to the ip adress or domain name of my server, I see a completely empty page in my browser, and the following line is written to /var/log/httpd/vanilla_error.log:

PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/vanilla/environment.php on line 74

(line 74 of environment.php looks like this:

spl_autoload_register([Vanilla\AliasLoader::class, 'autoload']);


Am I missing something in my installation, or is there a way to fix this issue?

Comments

Sign In or Register to comment.