How to install php8.0-opcache on Ubuntu

Zend OpCache module for PHP

Vendor: GetPageSpeed http://www.php.net/

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel amd64 arm64 Version
Ubuntu 24.04 (noble) Base 8.0.30
Ubuntu 20.04 (focal) Base — 8.0.30

Description

This package provides the Zend OpCache module(s) for PHP. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Built for Ubuntu.

Install

Base Ubuntu 20.04, 24.04

php8.0-opcache on Ubuntu 20.04 (focal), 24.04 (noble)

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
sudo apt-get update
sudo apt-get install -y php8.0-opcache

Package downloads require an active GetPageSpeed subscription — one repository for php8.0-opcache and thousands more packages for Ubuntu.

Subscribe — from $10/mo

Other releases and channels: use the setup wizard.

Frequently asked questions

How do I install php8.0-opcache on Ubuntu?

Add the GetPageSpeed repository, then install the php8.0-opcache package with your system package manager.

Which Ubuntu versions is php8.0-opcache available for?

php8.0-opcache is available for Ubuntu 20.04, 24.04.

Subscribe