Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Feb 23, 2024
1 parent d974cc8 commit e6932f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,7 @@ function checkZipArchiveAndVersion() {

$cliZipCheckOutput = shell_exec('php -m | grep -i Zip');
if (empty($cliZipCheckOutput)) {
var_dump($cliZipCheckOutput);
die("The ZipArchive class is not available in the PHP CLI environment. The CLI is using PHP version $cliVersion. Please install the PHP Zip extension for this version. On Ubuntu, run: 'sudo apt install php" . $cliVersion . "-zip && sudo /etc/init.d/apache2 restart'");
}
}
Expand Down

0 comments on commit e6932f5

Please sign in to comment.