How to Install and Uninstall php-pecl-sandbox.x86_64 Package on CentOS 8 / RHEL 8

Last updated: June 18,2024

1. Install "php-pecl-sandbox.x86_64" package

Please follow the steps below to install php-pecl-sandbox.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install php-pecl-sandbox.x86_64

2. Uninstall "php-pecl-sandbox.x86_64" package

Please follow the steps below to uninstall php-pecl-sandbox.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove php-pecl-sandbox.x86_64 $ sudo dnf autoremove

3. Information about the php-pecl-sandbox.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:56:51 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : php-pecl-sandbox
Version : 0.1.3
Release : 1.el8.remi.7.4
Architecture : x86_64
Size : 26 k
Source : php-pecl-sandbox-0.1.3-1.el8.remi.7.4.src.rpm
Repository : remi-modular
Summary : Isolated environment
URL : http://pecl.php.net/package/sandbox
License : PHP
Description : A sandbox is an isolated environment (a thread in our case); Things may go very
: badly wrong in the sandbox environment and not effect the environment that
: created it. This means that we must try very hard to limit the influence each
: environment has on the other. So the prototype and instructions of entry point
: "Closures" are verified to ensure they will not reduce or break isolation.
:
: In practice this means entry point closures must not:
:
: * accept or return by reference
: * accept or return non-scalar values (array, object)
: * execute a limited set of instructions
:
: Instructions prohibited directly in the sandbox are:
:
: * declare (anonymous) function
: * declare (anonymous) class
: * lexical scope access
:
: Nothing is prohibited in the files which the sandbox may include, but allowing
: these actions directly in the code which the sandbox executes at entry would
: break the isolation of the sandbox such that we couldn't be sure the system
: would remain stable.
:
: With these restrictions in place, we can be sure that a sandbox may do anything
: up to but excluding making PHP segfault, and not effect the environment that
: created it.
:
: This extension is only available for PHP in ZTS mode.
:
: Package built for PHP 7.4.