Learn about Centmin Mod LEMP Stack today
Register Now

PHP-FPM update libcurl without upgrading php ?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by R0rke, Jun 30, 2017.

  1. R0rke

    R0rke Member

    83
    16
    8
    Jun 2, 2016
    Iran
    Ratings:
    +24
    Local Time:
    4:35 PM
    1.11.1
    10.1
    hi i create a thread before about how to install or update libcurl on php.
    and @eva2000 just helped me so much .
    as he said i just normally need to install latest version of curl then update/upgrade my php-fpm by menu option x .
    but i don't want to do update php ? is't there any ways ? for example reconfigure the main installed php ?
    thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,166
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    there's no other way php needs update/recompile to detect newer system curl versions. You can recompile same php version not necessarily updating to newer php versions. But the centmin.sh menu option 5 needs to be run - specify any php version you require
     
    • Like Like x 1
  3. R0rke

    R0rke Member

    83
    16
    8
    Jun 2, 2016
    Iran
    Ratings:
    +24
    Local Time:
    4:35 PM
    1.11.1
    10.1
    actually now its is on 7.0.20 , u mean i enter or choose it again 7.0.20 ?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,166
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    9:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup recompile = reinstall the same version allows php-fpm to detect the new system curl version
     
    • Like Like x 1