March 26, 2023

Change is the end result of all true learning

PHP 7.4.4 Installation

Installation of PHP Complete Packages :
epel Repository :

dnf install

rpm Repository:

yum install

To Check epel Reposity :

rpm -qa | grep epel

To Update Packages:

yum update

To Upgrade Packages:

yum upgrade

To Know The Versions Of PHP Available To USE:

dnf module list php

To Enable PHP Latest Module IN Server:

dnf module enable php:remi-7.4

To Check PHP Latest Version:

php -v

To Know Where The Repositories Are Installed:


To List Files In a Directory:


To Clean All Repositories :

yum clean all

To List All Repositories List:

yum repolist

To Make Cache Of Repositories Not to Check Again & Again For WebServer:

yum makecache

To Clean Packages Installed In The Server:

yum clean packages

To Clean Headers Installed In The Server:

yum clean headers

To Clean Cache Data In The Server:

yum clean metadata

To Make Repositories Up To Data:

yum update

PHP Extension Files :

yum install php php-mysql php-cli php-common php-zip php php-opcache php-gd php-curl php-mysqlnd php-imagick php-ldap php-posix
yum install php php-gd php-mbstring php-intl php-pecl-apcu php-mysqlnd php-opcache php-json php-zip
dnf install php php-cli php-common 
dnf install php-{spl,hash,ctype,json,mbstring,zip,gd,curl,xml,common}
To Know PHP Extensions With Functions:
Click Here