I am using Prestashop's "1-click upgrade" addon to upgrade from Prestashop 1.6.1.17 to 1.7.4.3.
it fails with "Class 'ZipArchive' not found"
I have installed Zip with
sudo apt-get install php7.0-zip
but I get the same ZipArchive error
here is the error:-
[INTERNAL] /var/www/modules/autoupgrade/classes/ZipAction.php line 126 - Error: Class 'ZipArchive' not found #0 /var/www/modules/autoupgrade/classes/ZipAction.php(70): PrestaShop\Module\AutoUpgrade\ZipAction->compressWithZipArchive(Array, '/var/www/admin5...') #1 /var/www/modules/autoupgrade/classes/TaskRunner/Upgrade/BackupFiles.php(79): PrestaShop\Module\AutoUpgrade\ZipAction->compress(Array, '/var/www/admin5...') #2 /var/www/admin5431/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\BackupFiles->run() #3 {main}
at line 126 in ZipAction.php the statement is
$zip = $this->openWithZipArchive($toFile, \ZipArchive::CREATE);
Any ideas on how to resolve this would be appreciated.