ID:               38393
 Comment by:       kot at hacktest dot net
 Reported By:      asubstitute at gmail dot com
 Status:           No Feedback
 Bug Type:         cURL related
 Operating System: RHEL4
 PHP Version:      5.1.4
 New Comment:

I have got the same issue with small clarifications. 

When I try to use mod_php, all works fine: curl receive both http and
https documents.

But when I ask my hoster to recompile php into CGI mode (it was needed
for another purposes), script works fine for http retrieving, but
failed for https. 

Fails is appeared about curl_close() call. No errors or notifications,
core dumped. MySQL version is the same for mod and cgi: 5.0.27.

Please let me know if you need any additional info, and I'll try to
provide it as far as possible.

P.S. 
OS FreeBSD 6.1-RELEASE-p6 
PHP Version 5.1.6, 5.2.0 (too). 

Coppiling without --with-mysql helps (curl works fine), but it is not
good-enough solution -- I need MySQL too.

In any case: why it works fine for mod_php, and failed for cgi?


Previous Comments:
------------------------------------------------------------------------

[2006-12-30 06:16:39] [EMAIL PROTECTED]

It is caused by mySQL version. I did tested with MySQL 5.0.27-0 and it
worked by CGI. As CLI it worked by at curl_close it gives segmentation
fault yet. I did not testes but at
http://bugs.mysql.com/bug.php?id=19817  they told it is fixed in mySQL
CVS.

------------------------------------------------------------------------

[2006-08-17 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2006-08-09 21:30:07] [EMAIL PROTECTED]

I'd appreaciate if you try this:
1) install Mysql 5.0.13;
or
2) build any MySQL version > 5.0.13 from sources.
And then rebuild PHP with --with-mysql.
If this would work for you, then the cause is clearly in MySQL. See
http://bugs.mysql.com/bug.php?id=19817.

------------------------------------------------------------------------

[2006-08-09 21:01:06] asubstitute at gmail dot com

I updated:
* MySQL-devel package
* OpenSSL
* libcurl

Compiled with --with-mysql and not with --open-ssl.

Install worked.

Https worked with curl. THe cause of this bug is still TBD.

------------------------------------------------------------------------

[2006-08-09 12:11:01] [EMAIL PROTECTED]

Yes, please try 5.2 snapshot without MySQL.
MySQL has recently replaced OpenSSL with YaSSL in their binary builds
and I suspect this is the reason of the issue you're facing.

------------------------------------------------------------------------

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/38393

-- 
Edit this bug report at http://bugs.php.net/?id=38393&edit=1

Reply via email to