Closed whikloj closed 4 years ago
Related to https://github.com/mjordan/islandora_bagger/issues/38
This is where your installed version of PHP does not have the Zip extension installed which BagItPHP assumes. This results in an error like.
In bagit_utils.php line 437: Attempted to load class "ZipArchive" from the global namespace. Did you forget a "use" statement?
@whikloj Zip is installed: output from php -i | grep -i zip includes "ZIP-based phar archives => enabled".
php -i | grep -i zip
sudo apt-get install php7.2-zip got it to work.
sudo apt-get install php7.2-zip
php -i | grep -i zip now includes "Zip => enabled".
Related to https://github.com/mjordan/islandora_bagger/issues/38
This is where your installed version of PHP does not have the Zip extension installed which BagItPHP assumes. This results in an error like.