ID: 38393
Updated by: [email]darkelder@php.net[/email]
Reported By: asubstitute at gmail dot com
Status: No Feedback
Bug Type: cURL related
Operating System: RHEL4
PHP Version: 5.1.4
New Comment:

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
[url]http://bugs.mysql.com/bug.php?id=19817[/url] they told it is fixed in mySQL
CVS.


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

[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]tony2001@php.net[/email]

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
[url]http://bugs.mysql.com/bug.php?id=19817[/url].

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

[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]tony2001@php.net[/email]

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.

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

[2006-08-09 12:09:36] asubstitute at gmail dot com

Without --with-mysql and --with-openssl, the script works fine (with
https)

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

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
[url]http://bugs.php.net/38393[/url]

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