How to install php-paragonie-random-compat on Amazon Linux

PHP 5.x polyfill for random_bytes() and random_int() from PHP 7

License: MIT Vendor: Fedora Project https://github.com/paragonie/random_compat

Availability

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

Distro Channel noarch Version
Amazon Linux 2 Base 2.0.18

Description

PHP 5.x polyfill for random_bytes() and random_int() from PHP 7. Autoloader: /usr/share/php/random_compat/autoload.php

Built for Amazon Linux.

Install

Base Amazon Linux 2

php-paragonie-random-compat on Amazon Linux 2

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-paragonie-random-compat

Package downloads require an active GetPageSpeed subscription — one repository for php-paragonie-random-compat and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install php-paragonie-random-compat on Amazon Linux?

Add the GetPageSpeed repository, then install the php-paragonie-random-compat package with your system package manager.

Which Amazon Linux versions is php-paragonie-random-compat available for?

php-paragonie-random-compat is available for Amazon Linux 2.

Subscribe