ID:               15591
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Mandrake 8.1
 PHP Version:      4.1.1
 New Comment:

Anyone got a fix for this ? I just tried the latest PHP4 and Apache2
snapshot ... same thing .. segmentation fault


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

[2002-02-17 05:56:36] [EMAIL PROTECTED]

It coredumped without --oci8 as well:
#0  0x404a5761 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
310     TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id,
thread_resources->count);
(gdb) bt
#0  0x404a5761 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
#1  0x4042366a in php_module_startup (sf=0x404c96c0) at main.c:807
#2  0x404216cc in php_apache_server_startup (pconf=0x8096c78,
plog=0x80bed18, 
    ptemp=0x8149470, s=0x8098598) at sapi_apache2.c:428
#3  0x08065e3f in ap_run_post_config (pconf=0x8096c78, plog=0x80bed18,

    ptemp=0x8149470, s=0x8098598) at config.c:124
#4  0x0806a086 in main (argc=2, argv=0xbffff944) at main.c:491
#5  0x401f9370 in __libc_start_main () from /lib/libc.so.6

There ya go .. something is fishy in sapi_apache2.c

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

[2002-02-17 05:44:15] [EMAIL PROTECTED]

Opps, PHP4 configuration line:
./configure --prefix=/web --with-apxs2=/web/bin/apxs
--with-oci8=/opt/oracle/901/ --without-mysql
 --enable-sigchild

I have tried compiling it with the --with-tsrm-pth=pth-config option
and GNU Pth but it has too many conflicts with Mandrake 8.2's
libpthread and I did not feel like messing up the rest of my
environmental by renaming lib files, etc.

It won't core dump without --oci8 but WILL NOT START. 
apachectl start .. sends stuff to log file (initializing, etc.) then
kaput.

Muchas gracias!

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

[2002-02-17 05:07:01] [EMAIL PROTECTED]

What is your configure line (of PHP)?
Does it also segfault without OCI8?

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

[2002-02-17 05:07:01] [EMAIL PROTECTED]

What is your configure line (of PHP)?
Does it also segfault without OCI8?

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

[2002-02-17 04:02:52] [EMAIL PROTECTED]

Comment 1: I compiled apache with both --enable-so and without

Comment 2: Looking at readme in apache2filter, I added the following to
httpd.conf, still segmentation fault :
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>

Keep up the great work guys!

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

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
    http://bugs.php.net/15591

-- 
Edit this bug report at http://bugs.php.net/?id=15591&edit=1

Reply via email to