Bug #76911 [Fbk->Dup]: When called curl_exec($ch); function it not work but same code run on another

From: Date: Fri, 21 Sep 2018 11:39:53 +0000
Subject: Bug #76911 [Fbk->Dup]: When called curl_exec($ch); function it not work but same code run on another
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217180@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76911&edit=1 ID: 76911 Updated by: requinix@php.net Reported by: sushil dot adsare at konnet dot co dot in Summary: When called curl_exec($ch); function it not work but same code run on another -Status: Feedback +Status: Duplicate Type: Bug Package: cURL related Operating System: windows 10 PHP Version: 7.2Git-2018-09-21 (Git) Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2018-09-21 10:58:46] requinix@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2018-09-21 10:43:41] sushil dot adsare at konnet dot co dot in Description: ------------ When called curl_exec($ch); function it not work but same code run on another machine then it work properly (another machin-PHP version 5.3 ) ********** echo("1 !!!\n"); $ch = curl_init(); echo("2 !!!\n"); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); echo("3 !!!\n"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); echo("4 !!!\n"); curl_setopt($ch, CURLOPT_POSTFIELDS,$post); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); echo("5 !!!\n"); //execute post $output = curl_exec($ch); echo("6 !!!\n"); echo($output."Output !!!\n"); //close connection curl_close($ch); echo("7 !!!\n"); *********** Please Check Attach file for more ref Expected result: ---------------- Just add expected result in php error.png file Please check file ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76911&edit=1

« previous php.bugs (#217180) next »