How to Install and Uninstall php7 Package on openSUSE Leap

Last updated: November 22,2024

1. Install "php7" package

This tutorial shows how to install php7 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install php7

2. Uninstall "php7" package

Here is a brief guide to show you how to uninstall php7 on openSUSE Leap:

$ sudo zypper remove php7

3. Information about the php7 package on openSUSE Leap

Information for package php7:
-----------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : php7
Version : 7.4.33-150400.4.31.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 240.9 KiB
Installed : No
Status : not installed
Source package : php7-7.4.33-150400.4.31.1.src
Upstream URL : https://secure.php.net
Summary : Interpreter for the PHP scripting language version 7
Description :
PHP is a server-side HTML embedded scripting language designed
primarily for web development but also used as a general-purpose
programming language.
This package contains the base files for all subpackages and
must be installed in order to use PHP. Additionally, extension
modules and server modules (e.g. for Apache) may be installed.