Update lamp/php.md
This commit is contained in:
parent
9cc6e4b38f
commit
6f6231883d
16
lamp/php.md
16
lamp/php.md
@ -29,6 +29,22 @@ dnf install php74-php-xml php74-php-tidy php74-php-soap php74-php-bcmath
|
|||||||
|
|
||||||
# Configure
|
# Configure
|
||||||
|
|
||||||
|
```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
|
||||||
|
|
||||||
|
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/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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sed -i 's/:9000/:9074/' /etc/opt/remi/php74/php-fpm.d/www.conf
|
sed -i 's/:9000/:9074/' /etc/opt/remi/php74/php-fpm.d/www.conf
|
||||||
sed -i 's/:9000/:9080/' /etc/opt/remi/php82/php-fpm.d/www.conf
|
sed -i 's/:9000/:9080/' /etc/opt/remi/php82/php-fpm.d/www.conf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user