This repository provides installation scripts for setting up ZeroMQ on servers running:
- Plesk 17 (Onyx) with PHP 5.6 or 7.x.
- Plesk Obsidian 18 on Ubuntu 22.04, compatible with PHP 8.0 and higher.
- Installs required dependencies such as
libzmq
,libsodium
, andphp-zmq
. - Supports both precompiled Debian packages and manual source compilation.
- Dynamically configures the PHP-ZMQ extension for all Plesk-managed PHP versions.
- Fully automated setup scripts for seamless integration.
- Plesk 17: Designed for older setups with PHP 5.6 and 7.x support. Utilizes ZeroMQ version 4.2.1.
- Plesk 18 (Obsidian): Updated for modern systems with PHP 8.0+ support. Installs the latest stable ZeroMQ version (4.3.4) with enhanced security and performance.
-
Download the appropriate script for your Plesk version:
install-zeromq-plesk17.sh
: For Plesk 17install-zeromq-plesk18.sh
: For Plesk Obsidian 18
-
Make the script executable:
chmod +x install-zeromq-*.sh
-
Run the script with sudo privileges:
sudo ./install-zeromq-plesk17.sh # or sudo ./install-zeromq-plesk18.sh
After installation, verify the zmq
module is loaded for the desired PHP version:
/opt/plesk/php/<PHP_VERSION>/bin/php -m | grep zmq
Replace <PHP_VERSION>
with the PHP version you want to test (e.g., 5.6
, 8.0
, etc.).
- Operating System: Ubuntu 16.04+ (for Plesk 17), Ubuntu 22.04 (for Plesk Obsidian 18)
- PHP Versions: PHP 5.6, 7.x, and 8.x managed by Plesk.
This dual-version installer ensures compatibility with both legacy and modern Plesk setups, making it ideal for developers and system administrators working across different environments.
@BlackAriesStudios try again, updated script