Update lamp/php.md
This commit is contained in:
parent
69aaa9ad88
commit
41596a795d
18
lamp/php.md
18
lamp/php.md
@ -45,6 +45,13 @@ 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 2
|
||||
```
|
||||
|
||||
# Use
|
||||
|
||||
```sh
|
||||
alternatives --config php
|
||||
alternatives --config phpize
|
||||
alternatives --config php-config
|
||||
```
|
||||
|
||||
|
||||
```sh
|
||||
@ -56,13 +63,18 @@ semanage port -a -t http_port_t -p tcp 9074
|
||||
|
||||
# SystemD
|
||||
|
||||
```
|
||||
```sh
|
||||
systemctl start php83-php-fpm
|
||||
systemctl start php82-php-fpm
|
||||
systemctl start php74-php-fpm
|
||||
systemctl enable php74-php-fpm
|
||||
|
||||
systemctl enable php83-php-fpm
|
||||
systemctl enable php82-php-fpm
|
||||
systemctl status php74-php-fpm
|
||||
systemctl enable php74-php-fpm
|
||||
|
||||
systemctl status php83-php-fpm
|
||||
systemctl status php82-php-fpm
|
||||
systemctl status php74-php-fpm
|
||||
```
|
||||
|
||||
# php-cgi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user