Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7978235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:26:06+00:00 2026-06-04T09:26:06+00:00

Possible Duplicate: Protocol https not supported or disabled in libcurl I am trying to

  • 0

Possible Duplicate:
Protocol https not supported or disabled in libcurl

I am trying to connect to a site via https using curl within php.

<?php
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, 'https://api-3t.paypal.com/nvp');
  $response = curl_exec($ch);
  curl_close($ch);
?>

curl reuturns with

* Protocol https not supported or disabled in libcurl

however using curl via command line works fine

  # curl https://api-3t.paypal.com/nvp

I am running CentOS 5.8, WHM 11.32.2

# curl-config --features
SSL
IPv6
libz
IDN
NTLM


# curl-config --protocols
HTTP
HTTPS
FTP
FTPS
FILE
TELNET
LDAP
DICT
TFTP
NTLM
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:26:08+00:00Added an answer on June 4, 2026 at 9:26 am

    The curl binary that you are running from the command line is one thing ; but it’s pretty much independent from the curl_*() functions you are calling from PHP.

    A feature being available from the curl-command line tool will not (as you have noticed) necessarily be available from PHP.

    Here, you’ll probably have to recompile PHP, to make sure it’s compiled with SSL support.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: When do I need to specify the JavaScript protocol? for example <body
Possible Duplicate: iOS - Detecting whether or not device support phone calls? I'm writing
Possible Duplicate: PHP get all arguments as array? Within a javascript function arguments always
Possible Duplicate: Why is String.Concat not optimized to StringBuilder.Append? One day I was ranting
Possible Duplicate: Git over Email I'm new to Git and am interested in using
Possible Duplicate: Why not use tables for layout in HTML? Under what conditions should
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: What is a Protocol hi, how to use protocol in Objective-c ?
Possible Duplicate: How to detect browser's protocol handlers? A certain software (non-browser based) installs
Possible Duplicate: delegate not being called I declared a delegate in my appdelegate class,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.