• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Change root php version

Doudou

New Pleskian
Server operating system version
AlmaLinux 8.8 (Sapphire Caracal)
Plesk version and microupdate number
Obsidian Version 18.0.48
Hello, I'm trying to execute scheduled task of a Laravel project through Plesk GUI but unfortunately I met the following error : Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.2.24.
And even though my php version when I'm connected as a user on my subscription the php version is 8.1.0, when I'm connected as root the php version is 7.2.24. Seems like it's that last version that is used by the schedule runner"

Is there any way of changing the root php version ?

Thanks
 
The PHP version used by "root" is always the PHP that came with your operating system. Please see this thread for a solution:

This article could also be interesting for you:
 
Back
Top