How to Install and Uninstall php7-opcache Package on openSUSE Leap

Last updated: November 23,2024

1. Install "php7-opcache" package

In this section, we are going to explain the necessary steps to install php7-opcache on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install php7-opcache

2. Uninstall "php7-opcache" package

This tutorial shows how to uninstall php7-opcache on openSUSE Leap:

$ sudo zypper remove php7-opcache

3. Information about the php7-opcache package on openSUSE Leap

Information for package php7-opcache:
-------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : php7-opcache
Version : 7.4.33-150400.4.31.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 568.8 KiB
Installed : No
Status : not installed
Source package : php7-7.4.33-150400.4.31.1.src
Upstream URL : https://secure.php.net
Summary : Opcode cache extension for PHP
Description :
OPcache improves PHP performance by storing precompiled script
bytecode in shared memory, thereby removing the need for PHP to load
and parse scripts on each request.

5. The same packages on other Linux Distributions