I want to update PHP 7.2.3 installed in CentOS 7 to PHP 7.4
Reference Page
#yum remove php php-*
// Abbreviated
Delete dependencies:
composer noarch [email protected]
phpMyAdmin noarch 4.7.9-1.el7.remi@remi24M
// Abbreviated
Do the above.Is that okay? [y/N]N
·If I press y, will the installed phpMyAdmin also be deleted?
·Does deleting phpMyAdmin affect the database? I am currently accessing MySQL via phpMyAdmin.
·Is there a way to delete the current PHP without deleting it related to dependencies (deleting phpMyAdmin)? Is this a deprecated method?
·I also installed PHP extensions $sudo yum-y install --enablerepo=remi --enablerepo=remi-php72
, but do I need to do the same with PHP 7.4?Is it OK to do it the same way? Is there a way to check if the extension content is included in the PHP body?
If I press y, will the installed phpMyAdmin also be deleted?
That's right.
Does deleting phpMyAdmin affect the database?
phpMyAdmin is just a MySQL client tool (made by PHP.It should not affect the database itself.
without dependency related deletion (phpMyAdmin deleted)By specifying the --nodeps
option with the rpm
command instead of yum
, you can itself ignore dependencies and delete only those packages.
#rpm-e --nodeps<PACKAGE_NAME>
Composer and phpMyAdmin are shown when deleting dependencies because PHP is assumed to be installed.
© 2024 OneMinuteCode. All rights reserved.