silverstripe/silverstripe-installer

Web installation SS 4.0.1 - Parse error: syntax error, unexpected ':', expecting ';' or '{' in /public_html/vendor/symfony/filesystem/Filesystem.php on line 727

SqualaDesign opened this issue · 3 comments

Affected Version

SilverStripe 4.0.1

Description

I'm trying to install SilverStripe 4.0.1 on my VPS, LAMP technology. All requirements are correct.
screencapture-205-134-253-41-devsquala-install-php-1513307543231

Steps to Reproduce

I'm using the normal web installation and not composer.

Hey @SqualaDesign would you mind providing the version of PHP you're using please?

Ah, I think I know what has happened here. You've probably downloaded the archive from the SilverStripe website which was built with PHP 7, and you're running PHP 5.6?

To fix this, navigate into your project directory, delete the vendor folder and run composer install. This will re-install all of your dependencies, but using versions of packages like symfony/filesystem that are PHP 5.6 compatible.

Closing as a duplicate of silverstripe/silverstripe-framework#7709.

If you need help fixing this, please follow up on that issue.