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
Cant install instagram API to composer, help me please!!! #6991
Comments
You need to install the cURL extension (similar to what you did to resolve #6986). |
I installed apt-get install php-curl and apt-get install php-gd And i got next: user@ubuntu44:~$ composer require mgp25/instagram-php_Using version ^3.1 for mgp25/instagram-php
This means that "composer require mgp25/instagram-php" was good installed??? |
Yes, this looks good. |
please help me Installing mgp25/instagram-php (v7.0.1): Downloading (failed) Failed to download mgp25/instagram-php from dist: The "https://api.github.com/repos/mgp25/Instagram-API/zipball/53421f90b9ef7743f1c6221c4963f2b9f7a592e8" file could not be downloaded (HTTP/1.1 451 Unavailable for Legal Reasons)
[RuntimeException] 'git' is not recognized as an internal or external command, update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] []... InstagramLive-PHP is now up-to-date! |
Loading Updater... |
@cyberman110 this has nothing to do with Composer. As you can clearly see from the data, the repository has been taken down from GitHub:
|
Hi all, i have next troubles when i try install instagram API to composer!
P.S. I have ubuntu 16, v php - 7.1.12-3+ubuntu16.04.1+deb.sury.org+1 (cli)
user@ubuntu44:~$ composer require mgp25/instagram-php
Using version ^3.1 for mgp25/instagram-php
./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
- Installation request for mgp25/instagram-php ^3.1 -> satisfiable by mgp25/instagram-php[3.1].
- mgp25/instagram-php 3.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.1/cli/php.ini
- /etc/php/7.1/cli/conf.d/10-opcache.ini
- /etc/php/7.1/cli/conf.d/10-pdo.ini
- /etc/php/7.1/cli/conf.d/15-xml.ini
- /etc/php/7.1/cli/conf.d/20-calendar.ini
- /etc/php/7.1/cli/conf.d/20-ctype.ini
- /etc/php/7.1/cli/conf.d/20-dom.ini
- /etc/php/7.1/cli/conf.d/20-exif.ini
- /etc/php/7.1/cli/conf.d/20-fileinfo.ini
- /etc/php/7.1/cli/conf.d/20-ftp.ini
- /etc/php/7.1/cli/conf.d/20-gettext.ini
- /etc/php/7.1/cli/conf.d/20-iconv.ini
- /etc/php/7.1/cli/conf.d/20-json.ini
- /etc/php/7.1/cli/conf.d/20-mbstring.ini
- /etc/php/7.1/cli/conf.d/20-phar.ini
- /etc/php/7.1/cli/conf.d/20-posix.ini
- /etc/php/7.1/cli/conf.d/20-readline.ini
- /etc/php/7.1/cli/conf.d/20-shmop.ini
- /etc/php/7.1/cli/conf.d/20-simplexml.ini
- /etc/php/7.1/cli/conf.d/20-sockets.ini
- /etc/php/7.1/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.1/cli/conf.d/20-sysvsem.ini
- /etc/php/7.1/cli/conf.d/20-sysvshm.ini
- /etc/php/7.1/cli/conf.d/20-tokenizer.ini
- /etc/php/7.1/cli/conf.d/20-wddx.ini
- /etc/php/7.1/cli/conf.d/20-xmlreader.ini
- /etc/php/7.1/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.1/cli/conf.d/20-xsl.ini
You can also run
php --ini
inside terminal to see which files are used by PHP in CLI mode.Installation failed, reverting ./composer.json to its original content.
The text was updated successfully, but these errors were encountered: