Skip to content

php-upgrade

Linux
CLI tool/script to upgrade and manage PHP version-specific APT packages with ease.

Also available on crates.io (Rust) via cargo install php-upgrade.

Features

Package Management

php-upgrade
Upgrade all PHP packages for a specific version
php-upgrade purge
Purge all PHP packages for a specific version
php-upgrade list-packages
List all installed packages for a specific PHP version

Configuration Management

php-upgrade ini-diff
Compare php.ini files for installed versions

Version Retrieval

php-upgrade latest-ver
Get the version number of the latest PHP release
php-upgrade installed-ver
Get the currently installed PHP version number