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

Difficulties installing via composer on Mac OSX with PHP 7.0.11 #2

Closed
ttomdewit opened this issue Oct 7, 2016 · 3 comments
Closed

Comments

@ttomdewit
Copy link

Dear Spatie team,

First of all thanks for all your hard work!

I am having difficulties installing the http-status-check package on OSX with PHP 7.0.11 (installed via LIIP).

The following is the command I fire and the errors returned.

$ composer global require spatie/http-status-check
hanged current directory to /Users/t.d.wit/.composer
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Using version ^1.0 for spatie/http-status-check
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install spatie/http-status-check 1.0.1
    - Conclusion: remove symfony/console v3.1.3
    - Installation request for spatie/http-status-check ^1.0 -> satisfiable by spatie/http-status-check[1.0.0, 1.0.1].
    - Conclusion: don't install symfony/console v3.1.3
    - spatie/http-status-check 1.0.0 requires symfony/console ^2.7 -> satisfiable by symfony/console[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Can only install one of: symfony/console[v2.7.0, v3.1.3].
    - Can only install one of: symfony/console[v2.7.1, v3.1.3].
    - Can only install one of: symfony/console[v2.7.10, v3.1.3].
    - Can only install one of: symfony/console[v2.7.11, v3.1.3].
    - Can only install one of: symfony/console[v2.7.12, v3.1.3].
    - Can only install one of: symfony/console[v2.7.13, v3.1.3].
    - Can only install one of: symfony/console[v2.7.14, v3.1.3].
    - Can only install one of: symfony/console[v2.7.15, v3.1.3].
    - Can only install one of: symfony/console[v2.7.16, v3.1.3].
    - Can only install one of: symfony/console[v2.7.17, v3.1.3].
    - Can only install one of: symfony/console[v2.7.18, v3.1.3].
    - Can only install one of: symfony/console[v2.7.19, v3.1.3].
    - Can only install one of: symfony/console[v2.7.2, v3.1.3].
    - Can only install one of: symfony/console[v2.7.3, v3.1.3].
    - Can only install one of: symfony/console[v2.7.4, v3.1.3].
    - Can only install one of: symfony/console[v2.7.5, v3.1.3].
    - Can only install one of: symfony/console[v2.7.6, v3.1.3].
    - Can only install one of: symfony/console[v2.7.7, v3.1.3].
    - Can only install one of: symfony/console[v2.7.8, v3.1.3].
    - Can only install one of: symfony/console[v2.7.9, v3.1.3].
    - Can only install one of: symfony/console[v2.8.0, v3.1.3].
    - Can only install one of: symfony/console[v2.8.1, v3.1.3].
    - Can only install one of: symfony/console[v2.8.10, v3.1.3].
    - Can only install one of: symfony/console[v2.8.11, v3.1.3].
    - Can only install one of: symfony/console[v2.8.12, v3.1.3].
    - Can only install one of: symfony/console[v2.8.2, v3.1.3].
    - Can only install one of: symfony/console[v2.8.3, v3.1.3].
    - Can only install one of: symfony/console[v2.8.4, v3.1.3].
    - Can only install one of: symfony/console[v2.8.5, v3.1.3].
    - Can only install one of: symfony/console[v2.8.6, v3.1.3].
    - Can only install one of: symfony/console[v2.8.7, v3.1.3].
    - Can only install one of: symfony/console[v2.8.8, v3.1.3].
    - Can only install one of: symfony/console[v2.8.9, v3.1.3].
    - Installation request for symfony/console (locked at v3.1.3) -> satisfiable by symfony/console[v3.1.3].


Installation failed, reverting ./composer.json to its original content.
$ which php

/usr/local/php5/bin/php
$ php -v

PHP 7.0.11 (cli) (built: Sep 23 2016 20:33:19) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.11, Copyright (c) 1999-2016, by Zend Technologies
    with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans

Thank you for looking into this.

Tom

@freekmurze
Copy link
Member

Can you try it again (in a few minutes) with the dev-master version?

@ttomdewit
Copy link
Author

I'm happy to say that the following command has successfully installed http-status-check

composer global require spatie/http-status-check dev-master

At the time of writing it is successfully crawling our website. Thank you very much @freekmurze.

@freekmurze
Copy link
Member

Cool! You can now use v1.0.2 which includes the fix.

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

2 participants