How to update cURL to the latest version on Plesk server




  • Avatar
    Andrés Zsögön

    A more straightforward update method would be really appreciated.

  • Avatar
    Lev Iurev

    @Andrés Zsögön  it is the simplest way.

  • Avatar


    we did the upgrade because of security issue by the default version of cURL 7.29.0.

    But after the upgrade yum was broken :

    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
       /usr/lib64/ undefined symbol: libssh2_knownhost_init
    Please install a package which provides this module, or
    verify that the module is installed correctly.

    The Upgrade was successful but now yum is not working .

    Has somebody an idea what we should change ?

    Thank you




  • Avatar
    Ivan Postnikov

    @wp4all, such behavior may be caused by CentOS bug. The bug description and resolution may be found on the official website.

  • Avatar
    Jamie C (Edited )

    May be obvious to all but just in case it isnt.. curl and libcurl were listed in my yum versionlock ( so the above help didn't seem to work / allow me to proceed past step 3.  Once they were removed from the versionlock it was easy to upgrade without issue with the above instructions

    yum versionlock clear

    cURL / liburl updates were required to re-enable connection to WordFence scanning servers

  • Avatar
    Ivan Postnikov

    Hello @Jamie C!

    Thank you for sharing your case, this may be useful for other Pleskians.

Please sign in to leave a comment.

Have more questions? Submit a request