Using Oracle 12c as database

Nextcloud can be configured to use an Oracle database instance or a cluster of instances.

A special Nextcloud subscription is required in order for Nextcloud engineers to support an architecture using Oracle databases.


  • Nextcloud server version 12.0.1 (or higher)
  • Apache-Webserver
  • PHP version 7.0+
  • OCI8 PHP module
  • Oracle Database 12c
  • Oracle Instant client


Configuring Oracle Database 12c with Nextcloud requires some additional setup steps.

Installation of OCI8 module for PHP

For installing the OCI8-module for PHP 7.0 (or higher) you need to run:

    $ sudo pecl install oci8 

Add the OCI8-module entry to your PHP configuration

    § cat /etc/php/7.0/apache2/conf.d/oci.8. ini 

This command may vary if you are using newer versions of PHP. In this case, replace 7.0 with the PHP-version you are using. Keep in mind that only PHP 7.0 and 7.1 are supported!

Install the Oracle Instant Client

Connecting your Nextcloud server to Oracle databases requires

Attached Files
There are no attachments for this article.

If you have any questions or feedback on this article, do not hesitate to contact us. We are here to help you get the most out of Nextcloud.