|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35126 v 4.4.0-4 cURL Problem
Submitted: 2005-11-06 15:59 UTC Modified: 2005-11-06 23:12 UTC
From: mike at phpeeb dot com Assigned:
Status: Not a bug Package: cURL related
PHP Version: 4.4.0 OS: Unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mike at phpeeb dot com
New email:
PHP Version: OS:


 [2005-11-06 15:59 UTC] mike at phpeeb dot com
cURL no longer executes, script just dies. Happened with new installation of 4.4.0-4 my webhost installed. I cannot upgrade PHP myself, hence my choosing 4.4.1

PHP Version: 4.4.0-4
cURL Version: 7.15.0

Reproduce code:
$ch = curl_init($host_string);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_URL, $host_string);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
curl_setopt($ch, CURLOPT_SSLCERT, $cert);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_REFERER, $curl_ref);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);

Expected result:
var $result should either return Array of data or error.

Actual result:
$result returns nothing, script dies after curl_exec(). Even die() or echo commands written beneath curl_exec() do not show up. Possible PHP crash?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-06 17:46 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

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.

 [2005-11-06 18:10 UTC] mike at phpeeb dot com
What more information do you need?
This version of PHP and cURL appear to be incompatible. I was told by my server admin that they use Debian package.

Executing cURL in this version seems to crash PHP, as any instruction written after curl_exec() does not get followed, even die() instructions.
 [2005-11-06 23:12 UTC]
You can read, can't you? 

a) Your example script is useless.
b) Used PHP version is too old.
c) PHP 5.1 + Curl 7.15.0 works just fine for me.

In future, ask your administrator to file bug reports.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Sep 25 06:01:24 2020 UTC