Join the community today
Become a Member

Beta Branch fix custom curl pkg-config and library paths for PHP builds in 140.00…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 14, 2026 at 10:14 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,407
    12,614
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,273
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix custom curl pkg-config and library paths for PHP builds in 140.00beta01


    On EL8 and newer, compile_custom_curl pointed PHP's configure at
    /opt/curl_php/lib64 for pkg-config and the library path, but curl
    installs to /opt/curl_php/lib on every EL version. PHP's curl feature
    check then read the system libcurl.pc instead of the custom curl's.

    Changes:
    - compile_custom_curl: always use /opt/curl_php/lib/pkgconfig and
    /opt/curl_php/lib for CURL_PHP_PKG_CONFIG_PATH and
    CURL_PHP_LD_LIBRARY_PATH

    Continue reading...

    140.00beta01 branch