How to install php74-php-opcache on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
The Zend OPcache
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| RHEL 7 | Base | 7.4.33 |
Description
The Zend OPcache provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. In addition, it applies a few bytecode optimization patterns that make code execution faster.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php74-php-opcache 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 php74-php-opcache
php74-php-opcache: Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.
Subscribe — from $10/moFrequently asked questions
How do I install php74-php-opcache on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php74-php-opcache package with your system package manager.
Which Enterprise Linux versions is php74-php-opcache available for?
php74-php-opcache is available for RHEL 7.