How To Install php-common.x86_64 on Amazon Linux 2
In this tutorial we learn how to install php-common.x86_64 in Amazon Linux 2. php-common.x86_64 is Common files for PHP
Introduction
In this tutorial we learn how to install php-common.x86_64 on Amazon Linux 2.
What is php-common.x86_64
The php-common package contains files used by both the php package and the php-cli package.
We can use yum to install php-common.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install php-common.x86_64.
Install php-common.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-common.x86_64 using yum by running the following command:
sudo yum -y install php-common.x86_64
How To Uninstall php-common.x86_64 on Amazon Linux 2
To uninstall only the php-common.x86_64 package we can use the following command:
sudo yum remove php-common.x86_64
php-common.x86_64 Package Contents on Amazon Linux 2
/etc/php.d
/etc/php.d/curl.ini
/etc/php.d/fileinfo.ini
/etc/php.d/json.ini
/etc/php.d/phar.ini
/etc/php.d/zip.ini
/etc/php.ini
/usr/lib64/php
/usr/lib64/php/modules
/usr/lib64/php/modules/curl.so
/usr/lib64/php/modules/fileinfo.so
/usr/lib64/php/modules/json.so
/usr/lib64/php/modules/phar.so
/usr/lib64/php/modules/zip.so
/usr/share/doc/php-common-5.4.16
/usr/share/doc/php-common-5.4.16/CODING_STANDARDS
/usr/share/doc/php-common-5.4.16/CREDITS
/usr/share/doc/php-common-5.4.16/EXTENSIONS
/usr/share/doc/php-common-5.4.16/LICENSE
/usr/share/doc/php-common-5.4.16/NEWS
/usr/share/doc/php-common-5.4.16/README.EXTENSIONS
/usr/share/doc/php-common-5.4.16/README.EXT_SKEL
/usr/share/doc/php-common-5.4.16/README.GIT-RULES
/usr/share/doc/php-common-5.4.16/README.MAILINGLIST_RULES
/usr/share/doc/php-common-5.4.16/README.NEW-OUTPUT-API
/usr/share/doc/php-common-5.4.16/README.PARAMETER_PARSING_API
/usr/share/doc/php-common-5.4.16/README.PHP4-TO-PHP5-THIN-CHANGES
/usr/share/doc/php-common-5.4.16/README.REDIST.BINS
/usr/share/doc/php-common-5.4.16/README.RELEASE_PROCESS
/usr/share/doc/php-common-5.4.16/README.SELF-CONTAINED-EXTENSIONS
/usr/share/doc/php-common-5.4.16/README.STREAMS
/usr/share/doc/php-common-5.4.16/README.SUBMITTING_PATCH
/usr/share/doc/php-common-5.4.16/README.TESTING
/usr/share/doc/php-common-5.4.16/README.TESTING2
/usr/share/doc/php-common-5.4.16/README.UNIX-BUILD-SYSTEM
/usr/share/doc/php-common-5.4.16/README.WIN32-BUILD-SYSTEM
/usr/share/doc/php-common-5.4.16/README.input_filter
/usr/share/doc/php-common-5.4.16/README.namespaces
/usr/share/doc/php-common-5.4.16/TSRM_LICENSE
/usr/share/doc/php-common-5.4.16/ZEND_CHANGES
/usr/share/doc/php-common-5.4.16/ZEND_LICENSE
/usr/share/doc/php-common-5.4.16/libmagic_LICENSE
/usr/share/doc/php-common-5.4.16/phar_LICENSE
/usr/share/doc/php-common-5.4.16/php.ini-development
/usr/share/doc/php-common-5.4.16/php.ini-production
/usr/share/doc/php-common-5.4.16/regex_COPYRIGHT
/usr/share/php
/var/lib/php
References
Summary
In this tutorial we learn how to install php-common.x86_64 on Amazon Linux 2 using yum.