How to install php in CentOS/RHEL 6 (x86_64)

PHP scripting language for creating dynamic web sites

License: PHP Vendor: GetPageSpeed LLC http://www.php.net/

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install php

Description

PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated webpages. 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 which adds support for the PHP language to Apache HTTP Server.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-5.3.3-54.el6.x86_64 1.1 MiB 2026-10-30 Danila Vershinin
- php -v and phpinfo Build Provider show the package release
php-5.3.3-53.el6.x86_64 1.1 MiB 2026-10-29 Danila Vershinin
- security: port the 2015-2021 backlog (113 patches, see SECURITY.md), · plus the XMLReader::XML() base-uri use after free: · CVE-2010-2950 (completion) CVE-2015-5589 CVE-2015-7803 CVE-2015-7804 · CVE-2015-8865 CVE-2015-8866 CVE-2015-8874 CVE-2016-2554 CVE-2016-3074 · CVE-2016-4070 CVE-2016-4072 CVE-2016-4073 CVE-2016-4342 CVE-2016-4343 · CVE-2016-4537 CVE-2016-4538 CVE-2016-4539 CVE-2016-4540 CVE-2016-4541 · CVE-2016-4542 CVE-2016-4543 CVE-2016-4544 CVE-2016-5093 CVE-2016-5094 · CVE-2016-5096 CVE-2016-5114 CVE-2016-5399 CVE-2016-5766 CVE-2016-5767 · CVE-2016-5769 CVE-2016-5771 CVE-2016-5772 CVE-2016-5773 CVE-2016-6289 · CVE-2016-6290 CVE-2016-6291 CVE-2016-6292 CVE-2016-6294 CVE-2016-6296 · CVE-2016-6297 CVE-2016-7128 CVE-2016-7414 CVE-2016-10158 CVE-2016-10159 · CVE-2016-10160 CVE-2016-10167 CVE-2016-10168 CVE-2017-7890 CVE-2017-11147 · CVE-2018-5711 CVE-2018-7584 CVE-2018-14851 CVE-2018-17082 CVE-2018-19518 · CVE-2018-19935 CVE-2019-9020 CVE-2019-9024 CVE-2019-9637 CVE-2019-9638 · CVE-2019-9640 CVE-2019-11034 CVE-2019-11035 CVE-2019-11036 CVE-2019-11040 · CVE-2019-11041 CVE-2019-11042 CVE-2019-11045 CVE-2019-11046 CVE-2019-11047 · CVE-2019-11048 CVE-2019-11050 CVE-2020-7059 CVE-2020-7063 CVE-2020-7064 · CVE-2020-7066 CVE-2020-7067 CVE-2020-7068 CVE-2020-7070 CVE-2021-21702 · CVE-2021-21703 CVE-2021-21707
php-5.3.3-52.el6.x86_64 1.1 MiB 2026-10-29 Danila Vershinin
- security: port the 2022-2026 fixes (see SECURITY.md): CVE-2022-31625, · CVE-2022-31628, CVE-2022-31629, CVE-2022-31631, CVE-2023-0567, · CVE-2023-0568, CVE-2023-0662, CVE-2023-3247, CVE-2023-3823, CVE-2023-3824, · CVE-2024-2756, CVE-2020-7071, CVE-2021-21705, CVE-2024-5458, · CVE-2024-8925, CVE-2024-8927, CVE-2024-11234, CVE-2024-11233, · CVE-2026-7261, CVE-2026-7262, CVE-2026-6735, GH-22187, CVE-2026-92842, · CVE-2026-91766, CVE-2026-91765, CVE-2025-14181, CVE-2026-6103, · GHSA-ch8v-r6jh-4vvr
php-5.3.3-51.el6.x86_64 1.1 MiB 2026-10-27 Danila Vershinin
- GetPageSpeed Everpatch rebuild of stock CentOS 6 php-5.3.3-50.el6_10 for · EL6; drop-in update (same package names, layout and configure flags) · - PHP2Shell: CVE-2026-109618, CVE-2026-109619 (allocator overflow and fatal · paths exit without unwinding; string size overflow checks) · - GetPageSpeed branding: Vendor and Packager tags, phpinfo Build Provider, · php -v prints "Built by GetPageSpeed LLC" · - add gps_license license-presence extension, statically compiled into every · SAPI, with its cron.daily heartbeat (license file at · /etc/getpagespeed/license.jwt) · - php-common requires getpagespeed-extras-release

Subscribe