Kulturmensch
Regular Pleskian
- Server operating system version
- Ubuntu 20.04.5 LTS
- Plesk version and microupdate number
- Plesk Obsidian v 18.0.46
If I try to start a script in bash as root in /usr/local/bin the php version of the bash is shown as 7.4.
Some commands of the script are belonging to my domain i.e using "drush" which uses php 8.1 as I am using for the whole domain.
As result I get the error:
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.3. in /var/www/vhosts/.../vendor/composer/platform_check.php on line 24
Is there any possibility to run a root bash with php 8.1 instead of 7.4 (Plesk Obsidian / Ubuntu 18.0.46)
Some commands of the script are belonging to my domain i.e using "drush" which uses php 8.1 as I am using for the whole domain.
As result I get the error:
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.3. in /var/www/vhosts/.../vendor/composer/platform_check.php on line 24
Is there any possibility to run a root bash with php 8.1 instead of 7.4 (Plesk Obsidian / Ubuntu 18.0.46)