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

From: Date: Fri, 21 Sep 2018 10:43:41 +0000
Subject: Bug #76911 [NEW]: When called curl_exec($ch); function it not work but same code run on another
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217175@lists.php.net to get a copy of this message
From: sushil dot adsare at konnet dot co dot in Operating system: windows 10 PHP version: 7.2Git-2018-09-21 (Git) Package: cURL related Bug Type: Bug Bug description:When called curl_exec($ch); function it not work but same code run on another 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 bug report at https://bugs.php.net/bug.php?id=76911&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76911&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76911&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76911&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76911&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76911&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76911&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76911&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76911&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76911&r=support Expected behavior: https://bugs.php.net/fix.php?id=76911&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76911&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76911&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76911&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76911&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76911&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76911&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76911&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76911&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76911&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76911&r=mysqlcfg

« previous php.bugs (#217175) next »