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

Last updated: May 06,2024

1. Install "php.x86_64" package

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

$ sudo yum makecache $ sudo yum install php.x86_64

2. Uninstall "php.x86_64" package

Here is a brief guide to show you how to uninstall php.x86_64 on CentOS 7 / RHEL 7:

$ sudo yum remove php.x86_64 $ sudo yum autoremove

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

Installed Packages
Name : php
Arch : x86_64
Version : 7.4.19
Release : 1.el7.remi
Size : 10 M
Repo : installed
From repo : remi-php74
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
Description : PHP is an HTML-embedded scripting language. PHP attempts to make
: it easy for developers to write dynamically generated web pages.
: PHP also offers built-in database integration for several
: commercial and non-commercial database management systems, so
: writing a database-enabled webpage with PHP is fairly simple. The
: most common use of PHP coding is probably as a replacement for CGI
: scripts.
:
: The php package contains the module (often referred to as mod_php)
: which adds support for the PHP language to Apache HTTP Server.