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

Current Version does not work with PHP 7.0.x #73

Closed
pschirch opened this issue May 22, 2018 · 5 comments
Closed

Current Version does not work with PHP 7.0.x #73

pschirch opened this issue May 22, 2018 · 5 comments

Comments

@pschirch
Copy link

Hi,

we use your tool in our automated deployment pipeline. The current PHP version of the project where the error occurs is 7.0.30.

Install

curl -sO http://gordalina.github.io/cachetool/downloads/cachetool.phar
chmod +x cachetool.phar

Execute

/usr/bin/php cachetool.phar

Error

PHP Parse error:  syntax error, unexpected '?' in phar://*/cachetool.phar/vendor/symfony/yaml/Parser.php on line 499

Your documentation specifies the minimum version to 5.5.9+.

Any advice?

@davefarthing
Copy link

Same here, same problem

@edwinljacobs
Copy link

Same here

@gordalina
Copy link
Owner

gordalina commented May 22, 2018

Current version, 4.0.0 supports only php 7.1 and symfony 4
Version 3.2.1 supports php>=5.5, you can download it here: https://github.com/gordalina/cachetool/blob/gh-pages/downloads/cachetool-3.2.1.phar

@gordalina
Copy link
Owner

I'll update the documentation to clearly state this

@pschirch
Copy link
Author

@gordalina Thanks.

I also hope for a quick solution for the Deployer recipe (deployphp/recipes#183).

I agree that it is necessary to support latest PHP versions, but this change breaks a lot of deployment pipelines.

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

No branches or pull requests

4 participants