How to install php-snmp on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
A module for PHP applications that query SNMP-managed devices
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | — | |
| RHEL 7 | — | — | ✓ | 8.4.24 |
| RHEL 6 | — | — | — |
Description
The php-snmp package contains a dynamic shared object that will add support for querying SNMP devices to PHP. PHP is an HTML-embeddable scripting language. If you need SNMP support for PHP applications, you will need to install this package and the php package.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php-snmp 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 php-snmp
Package downloads require an active GetPageSpeed subscription — one repository for php-snmp and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install php-snmp on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php-snmp package with your system package manager.
Which Enterprise Linux versions is php-snmp available for?
php-snmp is available for RHEL 7.