Forums

Resolved
0 votes
Hello all,
I can't start my owncloud anymore because my used php version should be the 7.2. It is installed on my system but not used
how can i change my php version to run owncloud ?
Thanks to all for your help
:)
Thursday, June 11 2020, 07:59 PM
Share this post:
Responses (6)
  • Accepted Answer

    Tuesday, June 16 2020, 10:45 AM - #Permalink
    Resolved
    0 votes
    @Arnaud, owncloud or nextcloud? There have been no owncloud updates for a while but app-nextcloud updates should have automatically changed your PHP version for you for nextcloud. What version of app-nextcloud do you have - "rpm -q app-nextcloud"?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 12 2020, 06:01 PM - #Permalink
    Resolved
    0 votes
    Thanks very much Patrick
    it worked very well :)

    Have a nice evening :D
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 12 2020, 05:51 PM - #Permalink
    Resolved
    0 votes
    Arnaud Forster wrote:

    Hello Patrick,
    Thanks very much for your help..

    do you mean chaning the port number here ?

    <FilesMatch \.php$>
    SetHandler "proxy:fcgi://127.0.0.1:9071"
    </FilesMatch>


    Maybe from 9071 to 9072 ...
    I'm really not expert but it seems each installed version of php listen to a specific port ... 9071 for php 7.1 and 9072 for php 7.2
    Could it be that ?

    Thanks again for your help :)

    Yes,

    Try to change it to this;

     SetHandler "proxy:fcgi://127.0.0.1:9072"

    The port number is the php version
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 12 2020, 05:46 PM - #Permalink
    Resolved
    0 votes
    Hello Patrick,
    Thanks very much for your help..

    do you mean chaning the port number here ?

    <FilesMatch \.php$>
    SetHandler "proxy:fcgi://127.0.0.1:9071"
    </FilesMatch>


    Maybe from 9071 to 9072 ...
    I'm really not expert but it seems each installed version of php listen to a specific port ... 9071 for php 7.1 and 9072 for php 7.2
    Could it be that ?

    Thanks again for your help :)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 12 2020, 04:17 PM - #Permalink
    Resolved
    0 votes
    I thought you need to change /etc/httpd/owncloud.conf
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 11 2020, 09:20 PM - #Permalink
    Resolved
    0 votes
    Ok, I changed my PHP version for my default web site to 7.2 but nextcloud remains in 7.1


    This version of Nextcloud requires at least PHP 7.2
    You are currently running 7.1.30. Please update your PHP version.


    so I missed something but what ?

    Grrrrr- I think I've somewhere the path etc/opt/rh/rh-php71 to etc/opt/rh/rh-php72 but where ? I had a look in http.conf files but nothing...
    Any idea ?
    Thnaks to all :)
    The reply is currently minimized Show
Your Reply