Replies: 10 comments
-
Do you have the zip extension available? |
Beta Was this translation helpful? Give feedback.
-
Yes, this code runs without problems:
|
Beta Was this translation helpful? Give feedback.
-
Same problem here on Ubuntu 22.04, in my case I solved by downgrading php from 8.3 to 8.2 and reinstalling the zip extension. |
Beta Was this translation helpful? Give feedback.
-
Does it mean that it can't work with php8.3? |
Beta Was this translation helpful? Give feedback.
-
I am using the php docker image |
Beta Was this translation helpful? Give feedback.
-
i have same problem here. but in my proble, i try upgrade my laravel from 8 to 10 instead 8 to 9 to 10 |
Beta Was this translation helpful? Give feedback.
-
Got same problem on Windows. Fixed by enabling zip extension in
|
Beta Was this translation helpful? Give feedback.
-
Just happened to me. In Laravel 10 (upgraded from 8, 9), the extension is already enabled, using the Laravel Homestead environment, so I'm not sure how it goes. But it happened after installing PHP 8.3, just a guess because this installation was the last modification I did. |
Beta Was this translation helpful? Give feedback.
-
Had the same issue while migrating from Laravel 9 to 10 and using PHP 8.3. Just fixed it by adding libzip-dev and installing the extension:
|
Beta Was this translation helpful? Give feedback.
-
Version: spatie/laravel-backup 8.6.0
Happened after composer update to the newest version.
/vendor/spatie/laravel-backup/config/backup.php
Exception:
Beta Was this translation helpful? Give feedback.
All reactions