Support the ongoing development of Laravel.io →
Configuration Architecture
Last updated 2 years ago.
0

first you should try using new \ZipArchive()

and second....controller uses php-fpm or mod-php, but artisan command uses cli. On linux any of this can have seperate php.ini file and different modules. Check that you cli php has zip module instead. You can run "php -i | grep zip" and see if it is installed

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.