Installer says PHP zip and multibyte are not installed

hosting

#1

Running latest version of Owncloud web installer, downloaded from main site. Getting this error when trying to install:

PHP module zip not installed.

Please ask your server administrator to install the module.

PHP module mb multibyte not installed.

Please ask your server administrator to install the module.

PHP modules have been installed, but they are still listed as missing?

Please ask your server administrator to restart the web server.

The modules are most definitely installed and loaded. A run of apt-get shows this;

[ourea ~] apt-get install php7.0-zip php7.0-mb --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.0-mbstring' for regex 'php7.0-mb'
php7.0-mbstring is already the newest version (7.0.27-0+deb9u1).
php7.0-mbstring set to manually installed.
php7.0-zip is already the newest version (7.0.27-0+deb9u1).
php7.0-zip set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

I thought perhaps they weren’t loaded. But they are!

[ourea ~/.nginx/php] php7.0 -m
[PHP Modules]
Core
date
filter
hash
libxml
openssl
pcntl
pcre
Reflection
session
SPL
standard
zip
zlib

[Zend Modules]

What is going on??


#2

PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.

You’re checking if the modules are loaded for the CLI but not for the web server. I usually recommend to add a “phpinfo” file in the web server to check what is loaded:

<?php
phpinfo();

Just create that file and let the web server load it. Remove it once you’ve checked everything.

If you’re using nginx, check how you can load the php modules. I wouldn’t be surprised if the packages target an apache installation, so maybe you need extra steps to enable those modules for nginx.