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

Composer install fails on centOS 7 #135

Closed
iliya-yordanov opened this issue Apr 1, 2021 · 3 comments
Closed

Composer install fails on centOS 7 #135

iliya-yordanov opened this issue Apr 1, 2021 · 3 comments

Comments

@iliya-yordanov
Copy link

Hey there

Trying the composer install but it fails... any idea?

/usr/local/bin/composer require edamov/pushok
Using version ^0.2.0 for edamov/pushok
./composer.json has been created
Running composer update edamov/pushok
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - spomky-labs/jose[v6.1.1, ..., v6.1.7] require fgrosse/phpasn1 ^1.5 -> satisfiable by fgrosse/phpasn1[1.5.0, ..., v1.5.4].
    - edamov/pushok[0.2.1, ..., 0.2.6] require lib-curl >=7.46.0 -> it has the wrong version installed or is missing from your system, make sure to load the extension providing it.
    - fgrosse/phpasn1[1.5.0, ..., v1.5.4] require ext-gmp * -> it is missing from your system. Install or enable PHP's gmp extension.
    - edamov/pushok 0.2.0 requires spomky-labs/jose ^6.1.1 -> satisfiable by spomky-labs/jose[v6.1.1, ..., v6.1.7].
    - Root composer.json requires edamov/pushok ^0.2.0 -> satisfiable by edamov/pushok[0.2.0, ..., 0.2.6].

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php.ini
    - /etc/php.d/20-bz2.ini
    - /etc/php.d/20-calendar.ini
    - /etc/php.d/20-ctype.ini
    - /etc/php.d/20-curl.ini
    - /etc/php.d/20-dom.ini
    - /etc/php.d/20-exif.ini
    - /etc/php.d/20-fileinfo.ini
    - /etc/php.d/20-ftp.ini
    - /etc/php.d/20-gd.ini
    - /etc/php.d/20-gettext.ini
    - /etc/php.d/20-iconv.ini
    - /etc/php.d/20-intl.ini
    - /etc/php.d/20-json.ini
    - /etc/php.d/20-mbstring.ini
    - /etc/php.d/20-mysqlnd.ini
    - /etc/php.d/20-pdo.ini
    - /etc/php.d/20-phar.ini
    - /etc/php.d/20-posix.ini
    - /etc/php.d/20-shmop.ini
    - /etc/php.d/20-simplexml.ini
    - /etc/php.d/20-sockets.ini
    - /etc/php.d/20-sqlite3.ini
    - /etc/php.d/20-sysvmsg.ini
    - /etc/php.d/20-sysvsem.ini
    - /etc/php.d/20-sysvshm.ini
    - /etc/php.d/20-tokenizer.ini
    - /etc/php.d/20-xml.ini
    - /etc/php.d/20-xmlwriter.ini
    - /etc/php.d/20-xsl.ini
    - /etc/php.d/30-mcrypt.ini
    - /etc/php.d/30-mysqli.ini
    - /etc/php.d/30-pdo_mysql.ini
    - /etc/php.d/30-pdo_sqlite.ini
    - /etc/php.d/30-wddx.ini
    - /etc/php.d/30-xmlreader.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Installation failed, deleting ./composer.json.
@iliya-yordanov
Copy link
Author

Nevermind, solved.

@amk9889
Copy link

amk9889 commented Jul 5, 2021

how

@iliya-yordanov
Copy link
Author

Installed another lib - node-apn

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