Update lamp/php.md

This commit is contained in:
Ste Vaidis 2024-12-11 10:27:09 +02:00
parent 41596a795d
commit bb94cfacf9

View File

@ -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