From bb94cfacf9f3a448869afac37ae4907f28c6f268 Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Wed, 11 Dec 2024 10:27:09 +0200 Subject: [PATCH] Update lamp/php.md --- lamp/php.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lamp/php.md b/lamp/php.md index 889ca3e..2396eea 100644 --- a/lamp/php.md +++ b/lamp/php.md @@ -53,6 +53,13 @@ alternatives --config phpize alternatives --config php-config ``` +```sh +alternatives --set php /usr/bin/php83 +alternatives --set phpize /usr/bin/phpize-8.3 +alternatives --set php-config /usr/bin/php-config-8.3 +``` + +If you get version 8.2 despice setting php83 then unlias the php with `unalias php` ```sh sed -i 's/:9000/:9074/' /etc/opt/remi/php74/php-fpm.d/www.conf