Support » Plugin: WooCommerce » Woocommerce doesn’t detect curl is installed.

  • Hey all,

    I migrated a site recently onto a live site. When it went live WooCommerce Stripe was throwing an error, alerting me that cURL was not installed. I’ve checked on the server multiple times with

    
    curl -V
    

    and it out prints.

    
    curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp 
    Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP 
    

    I have tried multiple commands proceeding this as well, including:

    
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install php-curl
    sudo apt-get install php5-curl
    sudo apt-get install curl
    sudo apache2 restart
    

    But it still throws the error that it cannot detect cURL is installed. I have searched all over google and have tried multiple threads fixes to no avail.
    If anyone can help with this issue it would be greatly appreciated.

    
    ### WordPress Environment ###
    
    Home URL: http://leonsoystershop.com
    Site URL: http://leonsoystershop.com
    WC Version: 2.6.14
    Log Directory Writable: ❌ To allow logging
    make /var/www/leonsoystershop.com/public_html/wp-content/uploads/wc-logs/ writable or define a custom WC_LOG_DIR.
    
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.7 (Ubuntu)
    PHP Version: 5.6.30-10+deb.sury.org~trusty+2
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: N/A
    SUHOSIN Installed: –
    MySQL Version: ❌ 5.5.55 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.6.14
    : 
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to \"Downloads\" and download the \"Binary / gzip\" file next to \"GeoLite Country\"
    
    ### Active Plugins (10) ###
    
    Advanced Custom Fields: Options Page: by Elliot Condon – 1.2.0
    Advanced Custom Fields: Repeater Field: by Elliot Condon – 1.1.1
    Advanced Custom Fields: by Elliot Condon – 4.4.11
    Slick Slider: by Philipp Bammes – 0.4.2
    WooCommerce Stripe Gateway: by WooCommerce – 3.1.8
    WooCommerce Variation Swatches and Photos: by Lucas Stark – 3.0.0
    WooCommerce: by WooThemes – 2.6.14
    Yoast SEO: by Team Yoast – 2.3.4
    WP LESS: by Oncle Tom – 1.8.0
    WP Migrate DB: by Delicious Brains – 0.9.2
    
    ### Settings ###
    
    Force SSL: –
    Currency: FJD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    
    ### WC Pages ###
    
    Shop Base: #23 - /shop/
    Cart: #109 - /cart/
    Checkout: #120 - /checkout/
    My Account: #121 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Leons
    Version: 0.0.1
    Author URL: http://cobblehilldigital.com
    Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: leons/woocommerce/archive-product.php
    leons/woocommerce/auth/footer.php
    leons/woocommerce/auth/form-grant-access.php
    leons/woocommerce/auth/form-login.php
    leons/woocommerce/auth/header.php
    leons/woocommerce/cart/cart-empty.php
    leons/woocommerce/cart/cart-item-data.php
    leons/woocommerce/cart/cart-shipping.php
    leons/woocommerce/cart/cart-totals.php
    leons/woocommerce/cart/cart.php
    leons/woocommerce/cart/cross-sells.php
    leons/woocommerce/cart/mini-cart.php
    leons/woocommerce/cart/proceed-to-checkout-button.php
    leons/woocommerce/cart/shipping-calculator.php
    leons/woocommerce/checkout/cart-errors.php
    leons/woocommerce/checkout/form-billing.php
    leons/woocommerce/checkout/form-checkout.php
    leons/woocommerce/checkout/form-coupon.php
    leons/woocommerce/checkout/form-login.php
    leons/woocommerce/checkout/form-pay.php
    leons/woocommerce/checkout/form-shipping.php
    leons/woocommerce/checkout/payment-method.php
    leons/woocommerce/checkout/payment.php
    leons/woocommerce/checkout/review-order.php
    leons/woocommerce/checkout/terms.php
    leons/woocommerce/checkout/thankyou.php
    leons/woocommerce/content-product.php
    leons/woocommerce/content-product_cat.php
    leons/woocommerce/content-single-product.php
    leons/woocommerce/content-widget-product.php
    leons/woocommerce/emails/admin-cancelled-order.php
    leons/woocommerce/emails/admin-failed-order.php
    leons/woocommerce/emails/admin-new-order.php
    leons/woocommerce/emails/customer-completed-order.php
    leons/woocommerce/emails/customer-invoice.php
    leons/woocommerce/emails/customer-new-account.php
    leons/woocommerce/emails/customer-note.php
    leons/woocommerce/emails/customer-on-hold-order.php
    leons/woocommerce/emails/customer-processing-order.php
    leons/woocommerce/emails/customer-refunded-order.php
    leons/woocommerce/emails/customer-reset-password.php
    leons/woocommerce/emails/email-addresses.php
    leons/woocommerce/emails/email-customer-details.php
    leons/woocommerce/emails/email-footer.php
    leons/woocommerce/emails/email-header.php
    leons/woocommerce/emails/email-order-details.php
    leons/woocommerce/emails/email-order-items.php
    leons/woocommerce/emails/email-styles.php
    leons/woocommerce/emails/plain/admin-cancelled-order.php
    leons/woocommerce/emails/plain/admin-failed-order.php
    leons/woocommerce/emails/plain/admin-new-order.php
    leons/woocommerce/emails/plain/customer-completed-order.php
    leons/woocommerce/emails/plain/customer-invoice.php
    leons/woocommerce/emails/plain/customer-new-account.php
    leons/woocommerce/emails/plain/customer-note.php
    leons/woocommerce/emails/plain/customer-on-hold-order.php
    leons/woocommerce/emails/plain/customer-processing-order.php
    leons/woocommerce/emails/plain/customer-refunded-order.php
    leons/woocommerce/emails/plain/customer-reset-password.php
    leons/woocommerce/emails/plain/email-addresses.php
    leons/woocommerce/emails/plain/email-customer-details.php
    leons/woocommerce/emails/plain/email-order-details.php
    leons/woocommerce/emails/plain/email-order-items.php
    leons/woocommerce/global/breadcrumb.php
    leons/woocommerce/global/form-login.php
    leons/woocommerce/global/quantity-input.php
    leons/woocommerce/global/sidebar.php
    leons/woocommerce/global/wrapper-end.php
    leons/woocommerce/global/wrapper-start.php
    leons/woocommerce/loop/add-to-cart.php
    leons/woocommerce/loop/loop-end.php
    leons/woocommerce/loop/loop-start.php
    leons/woocommerce/loop/no-products-found.php
    leons/woocommerce/loop/orderby.php
    leons/woocommerce/loop/pagination.php
    leons/woocommerce/loop/price.php
    leons/woocommerce/loop/rating.php
    leons/woocommerce/loop/result-count.php
    leons/woocommerce/loop/sale-flash.php
    leons/woocommerce/myaccount/dashboard.php
    leons/woocommerce/myaccount/downloads.php
    leons/woocommerce/myaccount/form-add-payment-method.php
    leons/woocommerce/myaccount/form-edit-account.php
    leons/woocommerce/myaccount/form-edit-address.php
    leons/woocommerce/myaccount/form-login.php
    leons/woocommerce/myaccount/form-lost-password.php
    leons/woocommerce/myaccount/form-reset-password.php
    leons/woocommerce/myaccount/lost-password-confirmation.php
    leons/woocommerce/myaccount/my-account.php
    leons/woocommerce/myaccount/my-address.php
    leons/woocommerce/myaccount/my-downloads.php
    leons/woocommerce/myaccount/my-orders.php
    leons/woocommerce/myaccount/navigation.php
    leons/woocommerce/myaccount/orders.php
    leons/woocommerce/myaccount/payment-methods.php
    leons/woocommerce/myaccount/view-order.php
    leons/woocommerce/notices/error.php
    leons/woocommerce/notices/notice.php
    leons/woocommerce/notices/success.php
    leons/woocommerce/order/form-tracking.php
    leons/woocommerce/order/order-again.php
    leons/woocommerce/order/order-details-customer.php
    leons/woocommerce/order/order-details-item.php
    leons/woocommerce/order/order-details.php
    leons/woocommerce/order/tracking.php
    leons/woocommerce/product-searchform.php
    leons/woocommerce/single-product/add-to-cart/external.php
    leons/woocommerce/single-product/add-to-cart/grouped.php
    leons/woocommerce/single-product/add-to-cart/simple.php
    leons/woocommerce/single-product/add-to-cart/variable.php
    leons/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    leons/woocommerce/single-product/add-to-cart/variation.php
    leons/woocommerce/single-product/meta.php
    leons/woocommerce/single-product/price.php
    leons/woocommerce/single-product/product-attributes.php
    leons/woocommerce/single-product/product-image.php
    leons/woocommerce/single-product/product-thumbnails.php
    leons/woocommerce/single-product/rating.php
    leons/woocommerce/single-product/related.php
    leons/woocommerce/single-product/review-meta.php
    leons/woocommerce/single-product/review-rating.php
    leons/woocommerce/single-product/review.php
    leons/woocommerce/single-product/sale-flash.php
    leons/woocommerce/single-product/share.php
    leons/woocommerce/single-product/short-description.php
    leons/woocommerce/single-product/tabs/additional-information.php
    leons/woocommerce/single-product/tabs/description.php
    leons/woocommerce/single-product/tabs/tabs.php
    leons/woocommerce/single-product/title.php
    leons/woocommerce/single-product/up-sells.php
    leons/woocommerce/single-product-reviews.php
    leons/woocommerce/single-product.php
    leons/woocommerce/taxonomy-product_cat.php
    leons/woocommerce/taxonomy-product_tag.php
    
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • We’re getting the same issue

    WooCommerce Stripe - cURL is not installed.

    Yet curl -V on the server tells us that it is installed

    curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3

    • This reply was modified 3 years, 4 months ago by Driv Digital. Reason: Formatting

    I am in the same boat. Is there a solution here or should I move on?

    Me too…. cannot use credit card payment sat this point…. any solution?

    Me too…. cannot use credit card payments at this point…. any solution?

    Hi,

    you have to install the curl.

    PHP 5.6 run
    sudo apt-get install php5.6-curl

    PHP 7.0 run
    sudo apt-get install php7.0-curl

    Hope this’ll help.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce doesn’t detect curl is installed.’ is closed to new replies.