Coder Social home page Coder Social logo

Comments (3)

sindresorhus avatar sindresorhus commented on July 19, 2024

What PHP version are you using? php -v

from grunt-php.

brodkin avatar brodkin commented on July 19, 2024

5.6.0 beta 1, but look how it's formatted:

PHP 5.6.0beta1 (cli) (built: Aug 30 2014 13:52:33) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0-dev, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.4, Copyright (c) 2002-2014, by Derick Rethans

It would seem that the PHP folks are not following SemVer since that doesn't comply with rule 9.

I just re-read the error thrown in Grunt and it says:

Warning: /usr/local/opt/php56/bin/php 2.6.0-dev does not satisfy the version requirement of >=5.4 Use --force to continue.

It's reading the version of Zend, not PHP.

For the record adding the --force flag does nothing useful.

from grunt-php.

sindresorhus avatar sindresorhus commented on July 19, 2024

It supports non-valid semver, but it didn't order the results correctly and hence matched the wrong version.

Just reinstall this task to have it fixed ;)

from grunt-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.