Welcome to Centmin Mod Community
Become a Member

Stable Branch fix PHP configure flags for PHP upgrades and downgrades in 132.00stable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 22, 2026 at 4:44 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,036
    12,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,224
    Local Time:
    5:10 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix PHP configure flags for PHP upgrades and downgrades in 132.00stable

    Several PHP configure options were chosen with PHPMVER, the default PHP_VERSION, tested alongside the target version, so a centmin.sh menu option 5 build of another PHP version got the default's options. PHP 7.0-7.3 got --with-webp, which only PHP 7.4+ understands, so GD was built without WebP support. With PHP_LIBGD_EXTERNAL='y' they also got --with-external-gd and an unneeded external libgd build, and they got --with-ffi. Key these on PHPVER_ID, the PHP version being built.

    Changes:
    - inc/php_configure.inc: --with-webp for PHP 7.4+, --with-webp-dir=/usr for PHP 7.0-7.3, and the --with-vpx-dir branch for PHP 5.5/5.6 is reachable again
    - inc/php_configure.inc: --with-external-gd and the external libgd build only for PHP 7.4+
    - inc/php_configure.inc: --with-ffi only for PHP 7.4+

    Continue reading...

    132.00stable branch