Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot install Laravel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Xisaraba
n00b
n00b


Joined: 27 Jan 2020
Posts: 9

PostPosted: Wed Jan 29, 2020 2:47 pm    Post subject: Cannot install Laravel Reply with quote

Hi. I tried install Laravel via composer. But it say`s that I need zip extension.
Code:
composer global require laravel/installer
Changed current directory to /home/artem/.config/composer
Using version ^3.0 for laravel/installer
./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
    - laravel/installer v3.0.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
    - laravel/installer v3.0.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
    - Installation request for laravel/installer ^3.0 -> satisfiable by laravel/installer[v3.0.0, v3.0.1].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/cli-php7.3/php.ini
    - /etc/php/cli-php7.3/ext-active/opcache.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.

How can i fix it?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23461
Location: here

PostPosted: Wed Jan 29, 2020 3:34 pm    Post subject: Reply with quote

I don't know very well php but based on some search in google in debian like distribution this error can be solved installing php7.0-zip package. Obviously in gentoo this package not exists but maybe enabling zip use flag in dev-lang/php package can solve the problem.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Xisaraba
n00b
n00b


Joined: 27 Jan 2020
Posts: 9

PostPosted: Wed Jan 29, 2020 4:38 pm    Post subject: Reply with quote

fedeliallalinea wrote:
I don't know very well php but based on some search in google in debian like distribution this error can be solved installing php7.0-zip package. Obviously in gentoo this package not exists but maybe enabling zip use flag in dev-lang/php package can solve the problem.

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum