I am trying to upgrade from 1.6.23 using bin/gpm selfupdate
but getting an error:
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /Users/CRusna/Repos/web/PROD/nisp-master/system/src/Grav/Common/GPM/Installer.php:175
Stack trace:
#0 /Users/CRusna/Repos/web/PROD/nisp-master/system/src/Grav/Console/Gpm/SelfupgradeCommand.php(207): Grav\Common\GPM\Installer::unZip('/Users/CRusna/R...', '/Users/CRusna/R...')
#1 /Users/CRusna/Repos/web/PROD/nisp-master/system/src/Grav/Console/Gpm/SelfupgradeCommand.php(165): Grav\Console\Gpm\SelfupgradeCommand->upgrade()
#2 /Users/CRusna/Repos/web/PROD/nisp-master/system/src/Grav/Console/ConsoleCommand.php(30): Grav\Console\Gpm\SelfupgradeCommand->serve()
#3 /Users/CRusna/Repos/web/PROD/nisp-master/vendor/symfony/console/Command/Command.php(255): Grav\Console\ConsoleCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /Users/CRusna/Repos/web/PROD/nisp-master/vendor/symfony/console/Application.php(917): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\Ar in /Users/CRusna/Repos/web/PROD/nisp-master/system/src/Grav/Common/GPM/Installer.php on line 175