How to Install and Uninstall php-cli.x86_64 Package on CentOS 7 / RHEL 7

Last updated: May 05,2024

1. Install "php-cli.x86_64" package

Please follow the guidelines below to install php-cli.x86_64 on CentOS 7 / RHEL 7

$ sudo yum makecache $ sudo yum install php-cli.x86_64

2. Uninstall "php-cli.x86_64" package

Please follow the guidelines below to uninstall php-cli.x86_64 on CentOS 7 / RHEL 7:

$ sudo yum remove php-cli.x86_64 $ sudo yum autoremove

3. Information about the php-cli.x86_64 package on CentOS 7 / RHEL 7

Installed Packages
Name : php-cli
Arch : x86_64
Version : 7.4.19
Release : 1.el7.remi
Size : 18 M
Repo : installed
From repo : remi-php74
Summary : Command-line interface for PHP
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 and NCSA and PostgreSQL
Description : The php-cli package contains the command-line interface
: executing PHP scripts, /usr/bin/php, and the CGI interface.