Update PHP with Scaleway

BourrinOman -  
 Patwil -
Hello,

On the Wordpress support forum, I was told that I needed to update my PHP version for my site through my hosting provider (Scaleway). The problem is that I couldn't find where to do this update.
Is there anyone using this hosting provider who knows how to do it?

Configuration: Macintosh / Firefox 74.0

4 answers

  1. jordane45 Posted messages 30427 Registration date   Status Moderator Last intervention   4 833
     
    0
    1. BourrinOman
       
      OK.

      However, I don't know where to retrieve this file.

      Additionally, I don't know in which root I should add this file.
      0
      1. jordane45 Posted messages 30427 Registration date   Status Moderator Last intervention   4 833 > BourrinOman
         
        you don't retrieve it... you create it
        0
  2. Anonymous user
     
    Hello,
    Create the .htaccess file (make sure to write a point and then paste htaccess, without any txt or php or html extension, or anything else) and inside put this code
    AddHandler ${php7} php


    The version is PHP 7.1, which is not sufficient for WordPress.
    https://fr.wordpress.org/about/requirements/
    -PHP version 7.3 or higher.
    -MySQL version 5.6 or higher OR MariaDB version 10.1 or higher.
    -Support for HTTPS

    You need to write to the host to find out if they offer PHP 7.3 or to change hosting providers.

    on the wpfr forum, about Online, PHP version 7.2
    https://wpfr.net/support/sujet/online-net-et-version-de-php/

    In the .htaccess file, they put this code
    AddType application/x-httpd-php7-2 .php
    0
  3. avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention   4 513
     
    Hello,

    Can you specify the type of product you have?

    The link provided by jordane45 refers to the shared offers (non-Cloud and Cloud) from Online, which means a managed server by their team, on which different versions of PHP are already installed. In this case, you just need to use the .htaccess file to indicate which version of PHP the .php files should be executed with.

    You mention Scaleway, the branch through which Online sells "cloud" solutions (storage, VM instances, containers, etc. on demand). They provide their infrastructure so that you can create your own (virtual) server, but the management of this virtual server is entirely your responsibility. If you have a server via Scaleway, it is therefore a "virtualized dedicated server" and not "shared hosting." This means that to allow multiple versions of PHP to work, you must first configure your server for this purpose since you are the system administrator. And the documentation related to the shared offers is not relevant in this case. You should look for documentation explaining how to install multiple versions of PHP based on the OS installed on your server (and depending on the other components you have installed).
    0
  4. Patwil
     
    I just had the same issue. WP is telling me that I need to update PHP.
    You log into your hosting, choose to manage the site, and you'll see the PHP version that you can change via the dropdown menu. The WP message disappears because you can select 7.3.
    0