curl-and-php
Loading curl.so in php.ini or with dl()
Date: Sun, 17 Jun 2001 19:52:07 -0000
Hi!
I had to hack a little to be able to add curl to my php installation
WITHOUT recompiling it with --with-curl.
Now, it's working.
But, as a php newbie, I would like to ask you if you know why if
I load curl.so in php.ini with extension=curl.so it works most of the
times, but on a few rare occasions the server apache 1.3.19 fails to
start/ or starts without answering http requests. (ok as long as I
don't restart the machine to often)
On the other hand, if I use dl() to load the curl.so from inside the
php script, sometimes (10%), the httpd thread answering it crashes with
something like:
[Sun Jun 17 20:20:45 2001] [notice] child pid 15027 exit signal Bus
error (10)
or
[Sun Jun 17 20:20:52 2001] [notice] child pid 15108 exit signal
Segmentation fault (11)
Any ideias ? Is it a normal thing when using dl() ? Is it a curl.so
problem ? Could it be that my little hack is creating this problems ?
little hack: even after php without curl rpm is installed, and curl rpm
too,
untar source tree of php,
configure --with-curl=shared,
cd ext/curl
make
cp ../../modules/curl.so /var/lib/php4
Shouldn't it work ok or NOT work at all ?
Is the dl() mechanism safe with curl.so ?
Thank you.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________
Curl-and-php mailing list
http://curl.haxx.se/
Received on 2001-06-17