I'm running LEMP on a digitalocean droplet. We're running php v 7.2.19 on ubuntu 18.04.1.
I'm trying to install php-zip (apt-get install php7.2-zip
) but am getting the error:
apt-get install php7.2-zip
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php7.2-zip
E: Couldn't find any package by glob 'php7.2-zip'
E: Couldn't find any package by regex 'php7.2-zip'
I can't figure out why I can't install. Any suggestions?
Best Answer
The universe repository was missing. Solved by adding it via
sudo add-apt-repository universe
and then installingphp7.2-zip
.