Error on installing laster alpha

Trying to fresh install phpvms 7 alpha2 and getting a blank white screen with the the following error in the apache log file.

PHP Parse error:  syntax error, unexpected ‘?’, expecting variable (T_VARIABLE) in /var/www/phpvms/vendor/symfony/finder/Comparator/NumberComparator.php on line 42

PHP Fatal error:  Exception thrown without a stack frame in Unknown on line 0

Here is the version of php I am using

PHP 7.1.14-1+ubuntu16.04.1+deb.sury.org+1

 

If you create a php info page, does it show as running on PHP 7.1 as well? That line is the nullable type feature, and was new in 7.1:

http://php.net/manual/en/migration71.new-features.php#migration71.new-features.nullable-types

Thanks, I just ran phpinfo and it shows 7.0. I’ll fix that and try it again.

1 Like