Operating system and version (Raspbian Stretch)
Apache or nginx version (Apache/2.4.25 (Raspbian))
PHP version (PHP 7.0.19-1)
Is this the first time you’ve seen this error?:
Can you reliably replicate it? (If so, please outline steps):
Yes, every time I try to reach localhost
The issue you are facing:
When I hit my raspberry ip from another computer in the network it shows me the contents of index.php instead of the nextcloud first page.
I followed the tutrial
i’d say a misconfiguration of apache/php.
@JimmyKater. Could you help me a bit more? What shoulp I do to fix it? Or what should I google to find a fix?
what should I google
something that would contain
setup apache nextcloud or php
don’t forget to add several infos about your setting, which you spared from us…
i mean when did this error occured? are you really running nc 10.0.3?
if this is your initial setup on rp3 why don’t you use nextcloudpi?
Sorry my mistake. It is 12.0.3 (the latest last night)
I just burn the latest raspbian stretch lite update it and run the commands from the tutorial.
I have installed it once with raspbian jessie (debian 8) and it run without problem.
The php is the default index.php as it is extracted from the zip.
My settings are all the defaults.
Which apache file should I send?
It never run on this setup.
Actually I did not know about nextcloudpi. I am going to search it!
It seems that php is just not active (for webserver).
Also in the guide I don’t see where the apache php module is installed. So try to run:
apt install libapache2-mod-php
So much bad guides out there (also good ones, but how should someone know…). Nextcloud admin manual provides an at least working installation example for current debian based dists:
Thank you so much! After installation and restarting the apache server it runs!
I will try also the guide you provided and the nextcloudpi as it seems easy for configuration!
Yes, NextcloudPi comes running out of the box and provides easy additional configuration.