Problem with php

Hello,

I have a problem with php with NC14.
On my debian server (stretch) I have php5 and php7 installed.
The command “php -v” gives me: “PHP 7.0.33-0+deb9u1 (cli)”.
phpinfo() on URL gives me: " PHP Version 5.6.33-0+deb8u1".
When I want to go to NC (https://nextcloud) I have this message: “This version of Nextcloud requires at least PHP 7.0”.
On my debian server I have a lot of apache sites like Roundcube, Nextcloud, etc…
Roundcube needs php5, NC php7.
I don’t know how I can use this 2 versions of php, php5 for some sites, php7 for others sites.

Thanks.

well. since roundcube is using php7.1-apache as a docker base image I would update everything at least to this version.

btw: to put everything into docker container might be also a good advice. :wink:

I don’t use docker and I don’t want to use it, sorry.

Don’t work for me !!
After doing all of actions specified on this page,

  • phpinfo() on site in php7 give me php7 informations: good :sunglasses:
  • phpinfo() on site in php5.6 give me…blank page :open_mouth:
    And site in php5.6 give me more and more text instead of forms. It’s like the site can’t understand php5.6.
    :roll_eyes:

They support php 7.0 for some time: https://roundcube.net/news/2016/05/22/roundcube-webmail-1.2.0-released

1 Like

It’s OK !!!
All my sites work with php7.

1 Like