Facing problem after installed owncloud on ubuntu server

hosting

#1

Dears All
I am facing problem after installed owncloud on ubuntu server 16.04. i think that main page is not compile as well.
shown blew

<?php
/**
 * @author Jörn Friedrich Dreyer <jfd@butonic.de>
 * @author Lukas Reschke <lukas@statuscode.ch>
 * @author Morris Jobke <hey@morrisjobke.de>
 * @author Philipp Schaffrath <github@philippschaffrath.de>
 * @author RealRancor <fisch.666@gmx.de>
 * @author Robin Appelman <icewind@owncloud.com>
 * @author Sergio Bertolín <sbertolin@solidgear.es>
 * @author Thomas Müller <thomas.mueller@tmit.eu>
 * @author Vincent Petry <pvince81@owncloud.com>
 *
 * @copyright Copyright (c) 2017, ownCloud GmbH
 * @license AGPL-3.0
 *
 * This code is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License, version 3,
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 *
 */

// Show warning if a PHP version below 5.6.0 is used, this has to happen here
// because base.php will already use 5.6 syntax.
if (version_compare(PHP_VERSION, '5.6.0') === -1) {
	echo 'This version of ownCloud requires at least PHP 5.6.0<br/>';
	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
	return;
}

// Show warning if PHP 7.2 is used as ownCloud is not compatible with PHP 7.2
if (version_compare(PHP_VERSION, '7.2.0alpha1') !== -1) {
	echo 'This version of ownCloud is not compatible with PHP 7.2<br/>';
	echo 'You are currently running ' . PHP_VERSION . '.';
	return;
}

everything on server working well (php,mysql,apache)
would you mind to help me please ?


#2

Hi,

have you installed the required modules?

https://doc.owncloud.com/server/10.0/admin_manual/installation/source_installation.html#install-the-required-packages


#3

yes , but i find out one mistake , the problem was inside /etc/apache2/sites-enabled/owncloud.conf
i missed to configure Satisfy Any
so now working fine
thank you again for your replay.


#4

Glad I could help you out