Skip to main content

cURL SSL is broken after EasyApache 4 upgrade

Comments

4 comments

  • cPanelMichael
    Hello, You can verify that cURL is installed for the version of PHP utilized by this website with a command such as:
    rpm -qa|grep php-curl
    The output will resemble this, depending on what PHP versions are installed:
    # rpm -qa|grep php-curl ea-php55-php-curl-5.5.38-8.8.6.cpanel.x86_64 ea-php70-php-curl-7.0.14-1.1.6.cpanel.x86_64 ea-php56-php-curl-5.6.29-1.1.5.cpanel.x86_64
    Is this the error message you reported from an actual script using cURL with PHP over SSL, or from a script that's testing if the server supports cURL SSL? There's a thread where this is discussed at: curlssl missing? Thank you.
    0
  • dAvIdP___
    Thank you for replying. Some context: The error is happening on what was a working e-commerce website. The bit that took the money involved passing an XML message to a processor over a cURL post with the SSL settings above. I updated to Easy Apache 4 (from 3) and it knocked this cURL request out, with it now returning "SSL connect error". Running the command:
    rpm -qa|grep php-curl
    Returns
    ea-php55-php-curl-5.5.38-8.8.6.cpanel.x86_64 ea-php71-php-curl-7.1.0-14.14.2.cpanel.x86_64 ea-php56-php-curl-5.6.29-1.1.6.cpanel.x86_64 ea-php54-php-curl-5.4.45-26.26.6.cpanel.x86_64
    The website I'm looking at is running 5.6.29.
    0
  • garconcn
    I also experienced the similar issue today after converting from EA3 to EA4. The curl was installed in EA3 but it was missing from PHP 5.6 after the conversion, however, I found PHP 5.5 and 7.0 have the curl installed. I've fixed the issue by re-compile the cpanel default profile "CloudLinux + All PHP Options + OpCache" instead of the conversion profile.
    0
  • cPanelMichael
    Hello @dAvIdP___, Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here and we will update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.