CLI points to php8.1 although PHP8.2 is set
-
Hello,
when you change PHP version to 8.2, PHP is executing PHP scripts with 8.2 but the CLI returns via "php -v" version 8.1. I think both should return v8.2 then.
Best Regards,
-
Yes, it's documented here - https://docs.cloudron.io/apps/lamp/#supported-php-versions . Bit unfortunate... It's like that because the filesystem is readonly and the symlink cannot be adjusted (easily) at runtime.
-
I'm not sure if we mean the same. I don't expect the CLI to be up2date during runtime. For changing the PHP version I have to reboot the app anyway. Shouldn't it be possible to have the CLI path/version to be based on a variable which is taken from the PHP version file you edit in the file manager?
EDIT: Just saw that you refer to the warning box I've missed.
-
I see. Thank you for the explanation. I wasn't aware of the Ubuntu-specifica.
-
-
1/5