Hi there,
I am trying to install nextcloud onto my server which runs ubuntu-server-16.04.
I have encoutered two problems in multiple installations. During one installation the mysql database did not wanted to work properly with nextcloud. During another installation, I saw the php-code instead of the graphical installation-wizard. Both times I followed the example-installation for nextcloud-12 step for step and did everything except the ‘pretty-url’ stuff.
Now I have again the problem that I see the php-code instead of the graphical installation-wizard when I visit http://<ip or domain>/nextcloud.
I am using the Apache Webserver 2.4.18 and this is my nextcloud.conf.
Alias /nextcloud "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/html/nextcloud
SetEnv HTTP_HOME /var/www/html/nextcloud
</Directory>
As I understand, the webroot under apache is /var/www/html/ so I threw it there and not to /var/www/
I hope I provided enough information.