Installing Nextcloud 11 on RHEL7 using rh-php70


  • Apache
    default package
    yum install httpd
  • mariadb
    default package
    yum install mariadb-server

    create db + user with all privileges on this db

  • PHP
    As Nextcloud requires 5.6+ and RHEL7 offers 5.4.x I chose RH-PHP70 from scl

    subscription-manager repos --enable rhel-server-rhscl-7-eus-rpms 

    yum install rh-php70 rh-php70-php-fpm rh-php70-php-mysqlnd rh-php70-php-mbstring rh-php70-php-gd

Nextcloud Installation

  • Prepare data-directory out of /var/www for Nextcloud data files
  • Package nextcloud-11.0.0 from
  • As the server can only connect to internet via proxy
    add: 'proxy' => 'http://myproxy:1234',