RE: PHP 4.0 Bug #8867 Updated: Child dies with bus error

From: Date: Thu, 25 Jan 2001 09:03:11 +0000
Subject: RE: PHP 4.0 Bug #8867 Updated: Child dies with bus error
Groups: php.dev 
Request: Send a blank email to php-dev+get-44961@lists.php.net to get a copy of this message
Yes, that is what I tried (gcc 2.95.2) but then I wanted to load libphp as a dynamic module, which did not work (missing symbol). Sterling gave me the hint of using the Snoopy module, which works fine for me. I compiled php as a static module in apache. Just to answer your question and to find out what was the problem, I re-activated curl 7.5.21 in php, and it works fine now. So there are a couple of things to learn: 1. Use the latest gcc 2. Use the latest apache, apache and curl 3. For support of POST url's it is easier to use the Snoopy class. (cf. sourceforge) 4. Dynamic loading of php as a so into Apache still does not work.... Wessel PS: Can you attach this info to my bug report in the bug database? > -----Original Message----- > From: Bug Database [mailto:php-dev@lists.php.net] > Sent: donderdag 25 januari 2001 02:29 > To: kraaij@tpd.tno.nl > Subject: PHP 4.0 Bug #8867 Updated: Child dies with bus error > > > ID: 8867 > Updated by: sniper > Reported By: kraaij@tpd.tno.nl > Old-Status: Open > Status: Feedback > Bug Type: cURL related > Assigned To: > Comments: > > Have you tried more recent version of GCC ? > > --Jani > > Previous Comments: > -------------------------------------------------------------- > ------------- > > [2001-01-23 13:29:44] kraaij@tpd.tno.nl > I want to use Curl in PHP. Unfortunately, the example > script that fetches the PHP homepage causes > a bus error of an Apache child. > Curl version: 7.5.2 > apache version: 1.3.12 > solaris version 7 > gcc version 2.8.1 > > message in apache logfile: > [Tue Jan 23 18:48:50 2001] [notice] child pid 3963 exit > signal Bus Error (10) > > > I need to use Curl because apparently it is the only > way to access a url with method=post from within PHP. > (this is really easy from java servlets, it should > be possible in PHP as well!!) > > Wessel Kraaij > > -------------------------------------------------------------- > ------------- > > > Full Bug description available at: http://bugs.php.net/?id=8867 >

« previous php.dev (#44961) next »