PHP Classes

How can i disable ssl check

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  How can i disable ssl check  >  (Un) Subscribe thread alerts  
Subject:How can i disable ssl check
Summary:I'm using my xampp server (localhost) and it keeps on acquiring
Messages:4
Author:Ali Baig
Date:2014-08-14 09:24:25
 

  1. How can i disable ssl check   Reply   Report abuse  
Picture of Ali Baig Ali Baig - 2014-08-14 09:24:25
I'm using xampp on my local machine and i keep getting the below message.
"Error: it was not possible to open the OAuth request token URL: establishing SSL connections requires the OpenSSL extension enabled"

Although i have opened extension for ssl but still issue exists. I don't know what i am going to do next. Please help
PHP Version: 5.25
Xampp: 1.6.6

  2. Re: How can i disable ssl check   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-08-14 09:32:18 - In reply to message 1 from Ali Baig
That error only happens if the class needs to establish connections with secure servers, so the extension may be enabled.

You may need to restart your Web server for your PHP configuration changes take effect.

  3. Re: How can i disable ssl check   Reply   Report abuse  
Picture of Ali Baig Ali Baig - 2014-08-14 10:13:58 - In reply to message 2 from Manuel Lemos
I have restarted the apache server, and checked HTTPS (SSL) is activated, but still when i go here 'https://localhost:2043/odesk/Oauth/' (2043 is the port in httpd-ssl.conf) i get the same "Error: it was not possible to open the OAuth request token URL: establishing SSL connections requires the OpenSSL extension enabled".

  4. Re: How can i disable ssl check   Reply   Report abuse  
Picture of Ali Baig Ali Baig - 2014-08-14 10:21:11 - In reply to message 3 from Ali Baig
It worked. I uncommented 'extension=php_openssl.dll' php.ini in php folder, restarted apache server and it started working. Thanks a lot sir