GetPageSpeed Extras

php

How to install php on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

PHP scripting language for creating dynamic web sites

License: PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 AND NCSA AND BSL-1.0 Vendor: GetPageSpeed LLC http://www.php.net/

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10
RHEL 9
RHEL 8
RHEL 7 8.4.24
RHEL 6

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. This package contains the module (often referred to as mod_php) which adds support for the PHP language to system Apache HTTP Server.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

php on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install php

Package downloads require an active GetPageSpeed subscription — one repository for php and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install php on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the php package with your system package manager.

Which Enterprise Linux versions is php available for?

php is available for RHEL 7.

Subscribe