Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Parse Error #101

Closed
kkrieger85 opened this issue Mar 14, 2019 · 3 comments
Closed

PHP Parse Error #101

kkrieger85 opened this issue Mar 14, 2019 · 3 comments

Comments

@kkrieger85
Copy link

PHP Parse error:  syntax error, unexpected '?', expecting variable (T_VARIABLE) in /var/www/vhosts/shopschmiede.eu/sylius.shopschmiede.eu/vendor/thecodingmachine/safe/generated/apc.php on line 92

I tried to install Sylius/Sylius via composer with php7.3

/opt/plesk/php/7.3/bin/php /usr/lib/plesk-9.0/composer.phar create-project sylius/sylius-standard

Used Version (from composer.lock)

{
            "name": "thecodingmachine/safe",
            "version": "v0.1.13",
            "source": {
                "type": "git",
                "url": "https://github.com/thecodingmachine/safe.git",
                "reference": "4a8c8e55e6f6932f6d836fac74e33ec22d683fe3"
            },
@kkrieger85
Copy link
Author

@kkrieger85
Copy link
Author

Seems, that server CLI PHP Version still 7.0.x

@kkrieger85
Copy link
Author

Solved it via using PHP7.3.x instead of default "php" which was 7.0.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant