I can't install OC, it tries to download the installation page

php
webserver_issue

#1

Hi everyone,
I am trying to install OC on a VPS (ubuntu 14.04 with Plesk). After installing I typed mysite.com/owncloud but instead of showing me the installation page it tries to open it with another application.

This is the error it gives me: application/x-httpd-php5 and it asks me to open or to save the page.

I read on the internet that it is a problem with php and the way the server handles php pages but I don't know how to solve it.

Thanks in advance.


#2

You need to install and activate php7.0:
https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/

You perhaps need some more php-modules (see list: https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html#prerequisites), you can install them with apt-get install php7.0-modulename (if that doesn't match, use apt-cache search modulename to find the corresponding package).


#3

Please get help from either the Plesk community:

https://www.plesk.com/support/

or from the support of your hoster. Giving configuration help for Plesk is far out of the scope of this forums.


#4