From 69aaa9ad88663d629b267bbeded260129f386b50 Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Wed, 11 Dec 2024 10:17:31 +0200 Subject: [PATCH] Update lamp/php.md --- lamp/php.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lamp/php.md b/lamp/php.md index 76e5e4c..a9dc196 100644 --- a/lamp/php.md +++ b/lamp/php.md @@ -32,7 +32,9 @@ dnf install php74-php-xml php74-php-tidy php74-php-soap php74-php-bcmath ```sh mv /usr/bin/php /usr/bin/php.bak mv /usr/bin/phpize /usr/bin/phpize.bak -mv /usr/bin/php-config /usr/bin/php-config.bak + +ln -s /opt/remi/php83/root/usr/bin/php-config /usr/bin/php-config-8.3 +ln -s /opt/remi/php82/root/usr/bin/php-config /usr/bin/php-config-8.2 alternatives --install /usr/bin/php php /usr/bin/php82 1 alternatives --install /usr/bin/phpize phpize /usr/bin/phpize-8.2 1 @@ -40,7 +42,7 @@ alternatives --install /usr/bin/php-config php-config /usr/bin/php-config-8.2 1 alternatives --install /usr/bin/php php /usr/bin/php83 1 alternatives --install /usr/bin/phpize phpize /usr/bin/phpize-8.3 1 -alternatives --install /usr/bin/php-config php-config /usr/bin/php-config-8.3 1 +alternatives --install /usr/bin/php-config php-config /usr/bin/php-config-8.3 2 ```