Update lamp/php.md

This commit is contained in:
Ste Vaidis 2024-12-11 10:17:31 +02:00
parent 6f6231883d
commit 69aaa9ad88

View File

@ -32,7 +32,9 @@ dnf install php74-php-xml php74-php-tidy php74-php-soap php74-php-bcmath
```sh ```sh
mv /usr/bin/php /usr/bin/php.bak mv /usr/bin/php /usr/bin/php.bak
mv /usr/bin/phpize /usr/bin/phpize.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/php php /usr/bin/php82 1
alternatives --install /usr/bin/phpize phpize /usr/bin/phpize-8.2 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/php php /usr/bin/php83 1
alternatives --install /usr/bin/phpize phpize /usr/bin/phpize-8.3 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
``` ```