php repo mangement

/etc/yum.repos.d/


you will have all the list of repo that is added to the system 

to enable a package just vi that repo name like  vi remi.repo

just change enabled=1

1 means enabled and 0 means disabled

to check the packages that are currently enabled  just do

yum repolist or dnf repolist

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                             | 5.9 kB  00:00:00     
 * base: mirrors.praction.in
 * epel: repos.del.extreme-ix.org
 * extras: mirrors.praction.in
 * remi: rpms.remirepo.net
 * remi-php73: rpms.remirepo.net
 * remi-safe: rpms.remirepo.net
 * updates: mirrors.praction.in
base                                                                             | 3.6 kB  00:00:00     
extras                                                                           | 2.9 kB  00:00:00     
nginx                                                                            | 2.9 kB  00:00:00     
percona-release-noarch                                                           | 2.9 kB  00:00:00     
percona-release-x86_64                                                           | 2.9 kB  00:00:00     
r1soft                                                                           |  951 B  00:00:00     
remi-safe                                                                        | 3.0 kB  00:00:00     
updates                                                                          | 2.9 kB  00:00:00     
vesta                                                                            | 2.9 kB  00:00:00     
remi-safe/primary_db                                                             | 1.6 MB  00:00:02     
No packages marked for update


if your are on a production machine disable any test package if enabled

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation