Linux serverNETWORK ADMINISTRATIONS

#4 Install PHP 7 4 on Centos Stream 8

yum module list php
yum module reset php
yum module enable php:remi-7.4
## verify it php set to 7.4 ##

yum install -y @php php-xml php-session php-sockets php-ldap php-gd php-json php-mysqlnd php-gmp php-mbstring php-posix php-snmp php-intl

While installing PHP, php-fpm is also installed as its dependency, it will be treated as FastCGI Server, so use below command to start and enable FPM service,

systemctl start php-fpm
systemctl enable php-fpm

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *