I have php 7.0 and 7.2 installed on my Ubuntu machine.
When I execute php -v
, it tells me I am using php 7.2. On Apache I have also enabled php 7.2.
When I run phpenmode zip
, I get this:
WARNING: Module zip ini file doesn't exist under /etc/php/7.0/mods-available
Though the file is indeed under /etc/php/7.2/mods-available
.
How can I fix this? I tip that this is what is causing some applications complaining that the ZipArchive class is not installed.