Bender Bending
Jarlhettur's Drop
0
|
Posted - 2016.08.14 05:41:22 -
[1] - Quote
I am running a fresh install of Ubuntu 16.04 with lastest LAMP (apt-get upgrade)
I installed composer and made the composer.json in ~/
Added this line:
{ "require": { "yapeal/yapeal": "dev-master" } }
then i ran
php composer.phar update
I am getting this big error message:
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 yapeal/yapeal dev-master -> satisfiable by yapeal/yapeal[dev-master]. - yapeal/yapeal dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
To enable extensions, verify that they are enabled in those .ini files: - /etc/php/7.0/cli/php.ini - /etc/php/7.0/cli/conf.d/10-mysqlnd.ini - /etc/php/7.0/cli/conf.d/10-opcache.ini - /etc/php/7.0/cli/conf.d/10-pdo.ini - /etc/php/7.0/cli/conf.d/15-xml.ini - /etc/php/7.0/cli/conf.d/20-calendar.ini - /etc/php/7.0/cli/conf.d/20-ctype.ini - /etc/php/7.0/cli/conf.d/20-dom.ini - /etc/php/7.0/cli/conf.d/20-exif.ini - /etc/php/7.0/cli/conf.d/20-fileinfo.ini - /etc/php/7.0/cli/conf.d/20-ftp.ini - /etc/php/7.0/cli/conf.d/20-gd.ini - /etc/php/7.0/cli/conf.d/20-gettext.ini - /etc/php/7.0/cli/conf.d/20-iconv.ini - /etc/php/7.0/cli/conf.d/20-json.ini - /etc/php/7.0/cli/conf.d/20-mbstring.ini - /etc/php/7.0/cli/conf.d/20-mcrypt.ini - /etc/php/7.0/cli/conf.d/20-mysqli.ini - /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini - /etc/php/7.0/cli/conf.d/20-phar.ini - /etc/php/7.0/cli/conf.d/20-posix.ini - /etc/php/7.0/cli/conf.d/20-readline.ini - /etc/php/7.0/cli/conf.d/20-shmop.ini - /etc/php/7.0/cli/conf.d/20-simplexml.ini - /etc/php/7.0/cli/conf.d/20-sockets.ini - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini - /etc/php/7.0/cli/conf.d/20-sysvsem.ini - /etc/php/7.0/cli/conf.d/20-sysvshm.ini - /etc/php/7.0/cli/conf.d/20-tokenizer.ini - /etc/php/7.0/cli/conf.d/20-wddx.ini - /etc/php/7.0/cli/conf.d/20-xmlreader.ini - /etc/php/7.0/cli/conf.d/20-xmlwriter.ini - /etc/php/7.0/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.
Any ideas on why its failing? My only idea is that its not looking in the right place for the php folders, but I have no idea how i could point it to the correct location. In fact I dont even know the correct location to point it to if I did. |
Bender Bending
Jarlhettur's Drop
0
|
Posted - 2016.08.14 16:30:56 -
[3] - Quote
Dragonaire wrote:You just need to add curl mod it's not been installed yet. Try doing sudo apt-get install php7.0-curl and see if that doesn't clear it up for you. I update this for PHP 7.0 as well now
Ok so I installed curl and tidy, this is what i got
justin@ubuntu:~$ php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Failed to download dragonrun1/file_path_normalizer from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing dragonrun1/file_path_normalizer (1.1.3) Cloning 7771f03f394a8172125b5964c81882114f5c5fde from cache
Failed to download psr/log from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing psr/log (1.0.0) Cloning fe0936ee26643249e916849d48e3a51d5f5e278b from cache
Failed to download monolog/monolog from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing monolog/monolog (1.21.0) Cloning f42fbdfd53e306bda545845e4dbfd3e72edb4952 from cache
Failed to download symfony/yaml from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing symfony/yaml (v2.8.9) Cloning 0ceab136f43ed9d3e97b3eea32a7855dc50c121d from cache
Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing symfony/polyfill-mbstring (v1.2.0) Cloning dff51f72b0706335131b00a7f49606168c582594 from cache
Failed to download symfony/console from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing symfony/console (v2.8.9) Cloning 36e62335caca8a6e909c5c5bac4a8128149911c9 from cache
Failed to download symfony/event-dispatcher from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing symfony/event-dispatcher (v2.8.9) Cloning 889983a79a043dfda68f38c38b6dba092dd49cd8 from cache
Failed to download guzzle/guzzle from dist: The zip extension and unzip command are both missing, skipping. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini Now trying to download from source - Installing guzzle/guzzle (v3.9.3) Cloning 0645b70d953bc1c067bbc8d5bc53194706b628d9 from cache
- Installing yapeal/yapeal (dev-master aafc355) Cloning aafc355b7338dfdf87fe3d96d2dfc9633cde1800 from cache
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server) monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server) monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver) monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib) monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome) monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar) monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server) monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server) symfony/console suggests installing symfony/process () symfony/event-dispatcher suggests installing symfony/dependency-injection () symfony/event-dispatcher suggests installing symfony/http-kernel () guzzle/guzzle suggests installing guzzlehttp/guzzle (Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated.) Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead. Writing lock file Generating autoload files
|