Installing ownCloud on Linux from our Open Build Service packages is thepreferred method (see Preferred Linux Installation Method). These are maintained byownCloud engineers, and you can use your package manager to keep your ownCloudserver up-to-date.
- Php Module Zip Not Installed. Owncloud
- Owncloud Php Module Zip Not Installed Ubuntu
- Owncloud Php Module Zip Not Installed
- Owncloud Php Module Zip Not Installed Linux
- Owncloud Php Module Mb Multibyte Not Installed
PHP module cURL 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. Steps to reproduce Fresh owncloud install on ubuntu 18.04 Expected behaviour Connecting to the web server for the first time I expected to see the initial setup page Actual behaviour List of missing PHP modules including zip, dom, xmlWriter, xmlReader, mb multibyte, curl, intl etc. Server configuration Operating system: Ubuntu 18.04 Web server: Apache2 PHP version: 7.2 ownCloud version: (see.
Php Module Zip Not Installed. Owncloud
Enterprise customers should refer toInstalling & Upgrading ownCloud Enterprise Edition
If there are no packages for your Linux distribution, or you prefer installingfrom the source tarball, you can setup ownCloud from scratch using a classicLAMP stack (Linux, Apache, MySQL/MariaDB, PHP). This document provides acomplete walk-through for installing ownCloud on Ubuntu 14.04 LTS Server withApache and MariaDB, using the ownCloud .tar archive.
Admins of SELinux-enabled distributions such as CentOS, Fedora, andRed Hat Enterprise Linux may need to set new rules to enable installingownCloud. See SELinux Configuration Tips for a suggested configuration.
The ownCloud .tar archive contains all of the required PHP modules. This sectionlists all required and optional PHP modules. Consult the PHP manual for more information on modules.Your Linux distribution should have packages for all required modules. You cancheck the presence of a module by typing php-mgrep-i<module_name>.If you get a result, the module is present.
- php5 (>= 5.4)
- PHP module ctype
- PHP module dom
- PHP module GD
- PHP module iconv
- PHP module JSON
- PHP module libxml (Linux package libxml2 must be >=2.7.0)
- PHP module mb multibyte
- PHP module posix
- PHP module SimpleXML
- PHP module XMLWriter
- PHP module zip
- PHP module zlib
Database connectors (pick the one for your database:)
- PHP module sqlite (>= 3, usually not recommended for performance reasons)
- PHP module pdo_mysql (MySQL/MariaDB)
- PHP module pgsql (requires PostgreSQL >= 9.0)
- PHP module curl (highly recommended, some functionality, e.g. HTTP userauthentication, depends on this)
- PHP module fileinfo (highly recommended, enhances file analysis performance)
- PHP module bz2 (recommended, required for extraction of apps)
- PHP module intl (increases language translation performance and fixes sortingof non-ASCII characters)
- PHP module mcrypt (increases file encryption performance)
- PHP module openssl (required for accessing HTTPS resources)
Required for specific apps:
- PHP module ldap (for LDAP integration)
- PHP module ftp (for FTP storage / external user authentication)
- PHP module imap (for external user authentication)
- PHP module smbclient (SMB/CIFS integration)
SMB/Windows Network Drive mounts require the PHP module smbclient; seeSMB/CIFS.
Recommended for specific apps (optional):
- PHP module exif (for image rotation in pictures app)
- PHP module gmp (for SFTP storage)
For enhanced server performance (optional) select one of the followingmemcaches:
- PHP module apc
- PHP module apcu
- PHP module memcached
- PHP module redis (>= 2.2.6+, required for Transactional File Locking)
See Configuring Memory Caching to learn how to selectand configure a memcache.
For preview generation (optional):
- PHP module imagick
- avconv or ffmpeg
- OpenOffice or LibreOffice
For command line processing (optional):
- PHP module pcntl (enables command interruption by pressing ctrl-c)
You don’t need the WebDAV module for your Web server (i.e. Apache’smod_webdav), as ownCloud has a built-in WebDAV server of its own, SabreDAV.If mod_webdav is enabled you must disable it for ownCloud. (SeeApache Web Server Configuration for an example configuration.)
MySQL/MariaDB Require InnoDB¶
The InnoDB storage engine is required, and MyISAM is not supported, see: db-storage-engine-label.
Example Installation on Ubuntu 14.04 LTS Server¶
See Manual installation details for multiple distros, ownCloud 9.0 and 9.1 for installation hints for Ubuntu 16.04 LTS, RHEL 7.2 and SLES 12.
On a machine running a pristine Ubuntu 14.04 LTS server, install therequired and recommended modules for a typical ownCloud installation, usingApache and MariaDB, by issuing the following commands in a terminal:
- This installs the packages for the ownCloud core system.libapache2-mod-php5 provides the following PHP extensions: bcmathbz2calendarCorectypedatedbadomeregexiffileinfofilterftpgettexthashiconvlibxmlmbstringmhashopensslpcrePharposixReflectionsessionshmopSimpleXMLsoapsocketsSPLstandardsysvmsgsysvsemsysvshmtokenizerwddxxmlxmlreaderxmlwriterzipzlib. If you are planningon running additional apps, keep in mind that they might require additionalpackages. See Prerequisites for details.
- At the installation of the MySQL/MariaDB server, you will be prompted tocreate a root password. Be sure to remember your password as you will need itduring ownCloud database setup.
Now download the archive of the latest ownCloud version:
Go to the ownCloud Download Page.
Go to Download ownCloud Server > Download > Archive file forserver owners and download either the tar.bz2 or .zip archive.
This downloads a file named owncloud-x.y.z.tar.bz2 or owncloud-x.y.z.zip(where x.y.z is the version number).
Download its corresponding checksum file, e.g. owncloud-x.y.z.tar.bz2.md5,or owncloud-x.y.z.tar.bz2.sha256.
Verify the MD5 or SHA256 sum:
You may also verify the PGP signature:
Now you can extract the archive contents. Run the appropriate unpackingcommand for your archive type:
This unpacks to a single owncloud directory. Copy the ownCloud directoryto its final destination. When you are running the Apache HTTP server you maysafely install ownCloud in your Apache document root:
where /path/to/webserver/document-root is replaced by thedocument root of your Web server:
On other HTTP servers it is recommended to install ownCloud outside of thedocument root.
BINLOG_FORMAT = STATEMENT¶
If your ownCloud installation fails and you see this in your ownCloud log:
See MySQL / MariaDB with Binary Logging Enabled.
Apache Web Server Configuration¶
On Debian, Ubuntu, and their derivatives, Apache installs with a usefulconfiguration so all you have to do is create a/etc/apache2/sites-available/owncloud.conf file with these lines init, replacing the Directory and other filepaths with your own filepaths:
Then create a symlink to /etc/apache2/sites-enabled:
Additional Apache Configurations¶
For ownCloud to work correctly, we need the module mod_rewrite. Enable itby running:
Additional recommended modules are mod_headers, mod_env, mod_dir and mod_mime:
If you’re running mod_fcgi instead of the standard mod_php also enable:
You must disable any server-configured authentication for ownCloud, as ituses Basic authentication internally for DAV services. If you have turned onauthentication on a parent folder (via e.g. an AuthTypeBasicdirective), you can turn off the authentication specifically for the ownCloudentry. Following the above example configuration file, add the following linein the <Directory section:
When using SSL, take special note of the ServerName. You should specify one inthe server configuration, as well as in the CommonName field of thecertificate. If you want your ownCloud to be reachable via the internet, thenset both of these to the domain you want to reach your ownCloud server.
Now restart Apache:
If you’re running ownCloud in a subdirectory and want to use CalDAV orCardDAV clients make sure you have configured the correctService discovery URLs.
Multi-Processing Module (MPM)¶
Apache prefork has to be used. Don’t use a threaded MPM like event or worker with mod_php,because PHP is currently not thread safe.
You can use ownCloud over plain HTTP, but we strongly encourage you touse SSL/TLS to encrypt all of your server traffic, and to protectuser’s logins and data in transit.
Apache installed under Ubuntu comes already set-up with a simpleself-signed certificate. All you have to do is to enable the ssl module andthe default site. Open a terminal and run:
Self-signed certificates have their drawbacks - especially when youplan to make your ownCloud server publicly accessible. You might wantto consider getting a certificate signed by a commercial signingauthority. Check with your domain name registrar or hosting servicefor good deals on commercial certificates.
After restarting Apache you must complete your installation by running eitherthe graphical Installation Wizard, or on the command line with the occcommand. To enable this, temporarily change the ownership on your ownClouddirectories to your HTTP user (see Setting Strong Directory Permissions to learn how tofind your HTTP user):
Admins of SELinux-enabled distributions may need to write new SELinuxrules to complete their ownCloud installation; seeSELinux Configuration Tips.
To use occ see Installing ownCloud From the Command Line.
To use the graphical Installation Wizard see Installation Wizard.
Setting Strong Directory Permissions¶
After completing installation, you must immediately set the directorypermissions in your ownCloud installation as strictly as possible for strongersecurity. Please refer to Setting Strong Directory Permissions.
Now your ownCloud server is ready to use.
SELinux Configuration Tips¶
See SELinux Configuration for a suggested configuration forSELinux-enabled distributions such as Fedora and CentOS.
php.ini Configuration Notes¶
Keep in mind that changes to php.ini may have to be configured on more than oneini file. This can be the case, for example, for the date.timezone setting.
php.ini - used by the Web server:
php.ini - used by the php-cli and so by ownCloud CRON jobs:
php-fpm Configuration Notes¶
Security: Use at least PHP => 5.5.22 or >= 5.6.6
Due to a bug with security implicationsin older PHP releases with the handling of XML data you are highly encouraged to runat least PHP 5.5.22 or 5.6.6 when in a threaded environment.
System environment variables
When you are using php-fpm, system environment variables likePATH, TMP or others are not automatically populated in the same way aswhen using php-cli. A PHP call like getenv('PATH'); can thereforereturn an empty result. So you may need to manually configure environmentvariables in the appropropriate php-fpm ini/config file.
Here are some example root paths for these ini/config files:
In both examples, the ini/config file is called www.conf, and depending onthe distro version or customizations you have made, it may be in a subdirectory.
Owncloud Php Module Zip Not Installed Ubuntu
Usually, you will find some or all of the environment variablesalready in the file, but commented out like this:
Uncomment the appropriate existing entries. Then run printenvPATH toconfirm your paths, for example:
If any of your system environment variables are not present in the file thenyou must add them.
When you are using shared hosting or a control panel to manage your ownCloud VMor server, the configuration files are almost certain to be located somewhereelse, for security and flexibility reasons, so check your documentation for thecorrect locations.
Please keep in mind that it is possible to create different settings forphp-cli and php-fpm, and for different domains and Web sites.The best way to check your settings is with PHP Version and Information.
Maximum upload size
Owncloud Php Module Zip Not Installed
If you want to increase the maximum upload size, you will also have to modifyyour php-fpm configuration and increase the upload_max_filesize andpost_max_size values. You will need to restart php5-fpm and your HTTPserver in order for these changes to be applied.
.htaccess notes for Apache
Owncloud Php Module Zip Not Installed Linux
ownCloud comes with its own owncloud/.htaccess file. Because php-fpm can’tread PHP settings in .htaccess these settings and permissions must be setin the owncloud/.user.ini file.