php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6656 Child segfault when executing CURL functions
Submitted: 2000-09-10 22:15 UTC Modified: 2000-10-28 23:19 UTC
From: rckstr42 at hotmail dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 4.0.2 OS: RedHat Linux 6.2, Kernel 2.2.16
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rckstr42 at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-09-10 22:15 UTC] rckstr42 at hotmail dot com
Originally linked with cURL SSL 7.1

if it is linked with 7.2.1 apache crashes on startup, with:

Cannot load /etc/httpd/modules/libphp4.so into server: /usr/lib/libcurl.so.0: undefined symbol: RAND_status

I have a simple script like this:

<html>
<body>
starting curl...<br>
<?php

	$ch=curl_init ("http://192.168.0.42/");
	$fp=fopen ("/tmp/curl_test.txt","w");

	curl_setopt($ch, CURLOPT_INFILE, $fp);
	curl_setopt($ch, CURLOPT_HEADER, 1);

	curl_exec($ch);
	curl_close($ch);
	fclose($fp);
?>
curl completed<br>
</body>
</html>

I have PHP4 compiled with the following options:

--with-apxs=/usr/bin/apxs --with-mysql=/usr/local/mysql --with-curl=/usr --enable-sysvsem --enable-sysvshm --enable-versioning

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-25 07:05 UTC] sterling@php.net
I forwarded your message to the author of curl, he had this to say:

"This sounds very much like it was built against an newer OpenSSL lib
than it is run with. The RAND_status function is a pretty newly added
function (OpenSSL 0.9.5 I believe).

Anyway, it is obviously a symbol problem and this *should* occur with the
normal 'curl' tool as well...

Get him to verify that he's using the same openssl lib for php that the
configure script in curl detects. RAND_status is known not to be present in
every openssl version and therefor the curl configure script checks for it
and the source uses it accordingly."

So is it so?
 [2000-09-25 07:07 UTC] sterling@php.net
Sorry, this should have been feedback...
 [2000-10-28 23:19 UTC] sniper@php.net
No feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 22:01:28 2024 UTC