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



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.


You need to install and activate php7.0:

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).


Please get help from either the Plesk community:


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