My nextcloud_ssl.conf in /etc/apache2/sites-enabled looks like this:
IfModule mod_ssl.c>
ServerAdmin myadmin@emailadress.com
ServerName mydomain
DocumentRoot /var/www/nextcloud
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; preload"
</IfModule>
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/mydomain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mydomain/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
Nextcloud itself is unpacked in /var/www/nextcloud
Now while trying to visit my cloud for testing I get this:
<?php
/**
*
* Your webserver seems to be not configured to use PHP or PHP is not installed.
* Please contact your administrator or follow our documentation:
* https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html
I reinstalled everything now 3-4 times without any chance to get it running :frowning:
Is it normal to have nearly every version of php installed after my install command at the top of this thread?
Just checked out what's in /etc/php/
5.6 7.0 7.1 7.2 7.3
Thought I only installed 7.2 with the commands on top...
Thx for any help in advance
Does /var/www/nextcloud/data/nextcloud.log exist? Does /var/www/nextcloud/lib/private/Session/Internal.php exist? What is the owner/group of that files/folders? They all should be owned by www-data:www-data on a Debian/Ubuntu system.