# PHP Manager — Changelog ## Version 5.0 Enabled LDAP, Sodium, Shmop, SNMP, and DBA by default for PHP 7.4 and PHP 8.0 through 8.5. Applied defaults to Selector, Switcher, and PHP-FPM builds. Added required development packages for LDAP/SASL, Sodium, and SNMP. Configured DBA with PHP’s bundled CDB handler. Added backup and cleanup of redundant extension INI directives after rebuilding. Added regression checks for default build flags and INI cleanup. __________________________________________________________________________________________________________________ ## Version 4.0 PIE now resolves the latest stable PHP 8.5.x runtime from php.net. Added SHA-256 verification for PIE runtime source downloads. Fixed the php-manager pie-runtime command. Added required build dependencies and runtime module validation. Preserves the existing PIE runtime until compilation succeeds. Fixed duplicate user-pool includes in newly generated FPM configurations. Added FPM systemd notification support and PID directory creation. Preserves existing FPM configurations and service units. Fixed FPM reload handling for automatically detected PIE targets. Added validation to prevent extensions being installed for the wrong PHP version. Fixed detection of shared libaom libraries. Preserves existing Switcher extension INI files. Added PHP 8.5 dependency checks, regression tests. __________________________________________________________________________________________________________________ ## Version 3.0 Fixed Removed libzip-devel from the base build prerequisites. On AlmaLinux 8/9, DNF filtered this package when PHP module streams were disabled, stopping the build before it started. ___________________________________________________________________________________________________________________ ## Version 2.0 ### PHP Manager * Added CloudLinux EL8/EL9 compatibility. * CloudLinux systems are now detected as EL-compatible systems. ### PIE Enhanced PIE target selection and multi-version support. #### Minor PHP Version Support PIE can now target an installed PHP minor version without requiring the exact patch version: ``` php-manager pie 8.3 imagick/imagick fpm ``` The manager resolves `8.3` to the installed PHP 8.3.x version. #### Multiple PHP Versions Multiple PHP versions can be specified in a single command: ``` php-manager pie 8.0 8.1 8.2 8.3 8.4 8.5 imagick/imagick fpm ``` #### All PHP Versions Added `all` target support. ``` php-manager pie all imagick/imagick ``` This targets all installed PHP versions across all three PHP managers: * PHP Selector * PHP-FPM Selector * PHP Switcher #### Manager-Specific `all` Target The `all` target can also be restricted to a specific PHP manager: ``` php-manager pie all imagick/imagick selector php-manager pie all imagick/imagick fpm php-manager pie all imagick/imagick switcher ``` ### Supported PIE Target Formats ``` php-manager pie 8.3 imagick/imagick fpm php-manager pie 8.3.33 imagick/imagick fpm php-manager pie 8.0 8.1 8.2 8.3 8.4 8.5 imagick/imagick fpm php-manager pie all imagick/imagick ``` ### Version 2.0 Summary | Feature | Version 2.0 | | --------------------------- | ----------- | | CloudLinux EL8/EL9 | Added | | PIE Minor Version Target | Added | | PIE Multiple Versions | Added | | PIE All Versions | Added | | PIE All 3 Managers | Added | | PIE Manager-Specific Target | Added | **Version:** 2.0 **Status:** Release ___________________________________________________________________________________________________________________ ## Version 1.0 ### PHP Versions * PHP 7.4 * PHP 8.0 * PHP 8.1 * PHP 8.2 * PHP 8.3 * PHP 8.4 * PHP 8.5 ### PHP Managers #### PHP Selector * Installs PHP under: `/opt/alt/phpXY/usr/` * Supports multiple PHP versions. #### PHP-FPM Selector * Installs PHP-FPM under: `/opt/alt/php-fpmXY/usr/` * Supports multiple PHP versions. * Creates and manages individual PHP-FPM services. #### PHP Switcher * Installs the selected PHP version under: `/usr/local/php/` * Switches the system CLI PHP version. * Supports one PHP version at a time. ### PIE Runtime * Dedicated PHP runtime for PHP Installer for Extensions (PIE). * Installed under: `/usr/local/php-pie/` * PHP 8.5 runtime. * Separate from PHP Selector, PHP-FPM Selector, and PHP Switcher. * Used to build and install PHP extensions for the installed PHP versions. ### Version 1.0 Summary | Component | Supported Versions | | ---------------- | ------------------ | | PHP Selector | 7.4 – 8.5 | | PHP-FPM Selector | 7.4 – 8.5 | | PHP Switcher | 7.4 – 8.5 | | PIE Runtime | PHP 8.5 | **Version:** 1.0 **Status:** Initial release