Drupal stuck with PHP 8.2 and won't install

So, I want to install Drupal via the Quick Install. I can install it manually, but doing it in the Quick Install would be nice if it worked. Drupal Latest seems to require PHP 8.3, so I installed 8.3 (and used a command that I forget now to update Hestia to use it). The problem is, when I try to install Drupal via Quick Install, it won’t give me an option to use 8.3. It has 8.1-8.2, but not 8.3.

I’m assuming it is a template issue for the Drupal install, but I don’t know what file to edit to fix it. What are my options here?


Use these commands as root and you will be able to install Drupal 11.

sed -Ei 's/supported" => \["8.1", "8.2"\],/supported" => \["8.3"\],/' /usr/local/hestia/web/src/app/WebApp/Installers/Drupal/DrupalSetup.php
sed -Ei '/php8.2'\'' -a /a \\t"$basecmd" != '\''php8.3'\'' -a \\' /usr/local/hestia/bin/v-run-cli-cmd

Note 1: PHP 8.3 must be installed on your server (v-add-web-php 8.3).
Note 2: Dir /home/YourUser/web/YourDomain/public_html/ must be empty.

3 Likes

Very nice. Thank you.

1 Like