1 min read
Installation of PHP Complete Packages :
epel Repository :
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
rpm Repository:
yum install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
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:
/etc/yum.repos.d
To List Files In a Directory:
ls
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
More Stories
Squid Proxy
Firewall
Zimbra Troubleshooting