PHP 4.0 Bug #6656: Child segfault when executing CURL functions
| From: | rckstr42 at hotmail dot com | Date: | Mon, 11 Sep 2000 02:15:13 +0000 |
| Subject: | PHP 4.0 Bug #6656: Child segfault when executing CURL functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32861@lists.php.net to get a copy of this message | ||
From: rckstr42@hotmail.com
Operating system: RedHat Linux 6.2, Kernel 2.2.16 SMP
PHP version: 4.0.2
PHP Bug Type: cURL related
Bug description: Child segfault when executing CURL functions
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