Bug #17715 Updated: cURL can't make SSL connections in CGI

From: Date: Tue, 11 Jun 2002 23:46:55 +0000
Subject: Bug #17715 Updated: cURL can't make SSL connections in CGI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10192@lists.php.net to get a copy of this message
ID: 17715 Updated by: sniper@php.net Reported By: mwalker@kydance.net -Status: Feedback +Status: Closed Bug Type: cURL related Operating System: Linux 2.4.17 SMP PHP Version: 4.1.2 New Comment: Nice to hear. I remember some bug related to this one been fixed there.. closing then. Previous Comments: ------------------------------------------------------------------------ [2002-06-11 19:40:20] mwalker@kydance.net Well, I went ahead and upgraded our CGI version to 4.2.1, and it's working now, so the problem is definately in 4.1.2. ------------------------------------------------------------------------ [2002-06-11 18:35:09] mwalker@kydance.net Example Run: [root@helium /root]# php -q /var/www/mthmarketing/test.php bool(false) ------------------------------------------------------------------------ [2002-06-11 18:30:44] edink@php.net I just tested your script with PHP 4.2.1 on RedHat Linux 6.2 and curl 7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5 (OpenSSL 0.9.5). It worked as expected. What output/error messages you get? ------------------------------------------------------------------------ [2002-06-11 18:25:27] mwalker@kydance.net Bug in that script I just posted. Corrected version: <? $curlsession = curl_init("https://www.mthmarketing.com/index.html"); curl_setopt($curlsession, CURLOPT_RETURNTRANSFER, 1); $return_string = curl_exec($curlsession); curl_close($curlsession); var_dump($return_string); ?> ------------------------------------------------------------------------ [2002-06-11 18:23:34] mwalker@kydance.net No, we haven't upgraded to 4.2x yet. Here's the script for you: <? $curlsession = curl_init("https://www.mthmarketing.com/index.html"); curl_setopt($curlsession, CURLOPT_RETURNTRANSFER, 1); $return_string = curl_exec($curlsession); curl_close($curlsession); var_dump($curlsession); ?> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17715 -- Edit this bug report at http://bugs.php.net/?id=17715&edit=1

« previous php.bugs (#10192) next »