I'm trying to get a PHP apache module with oci8 support running on
OS X.  I'm using Oracle's 'Release 9.2.0.1.0 - Developer's Release'
and php 4.3.2.

Everything builds fine with a simple

  ./configure --with-axps --with=oci8

and I'm able to connect to the db and run queries with the CLI
version of PHP. I've modified apachectl to source the same script
that sets up the environment (ORACLE_HOME, etc) as I use when
successfully running PHP scripts with the CLI interpreter. However,
apache refuses to start if I try to use the new PHP module. It seems
to hang a while after start and die after being unable to fork
copies as the 'www' user.

Here's what I see in the CrashReporter log:

---- LOG ----
Date/Time:  2003-06-14 21:37:09 +0200
OS Version: 10.2.6 (Build 6L60)
Host:       xenos

Command:    httpd
PID:        461

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x001436fe

Thread 0 Crashed:
 #0   0x8fe1f490 in strlen
 #1   0x8fe2bc58 in vsnprintf
 #2   0x8fe0a3bc in vadd_error_string
 #3   0x8fe0a370 in add_error_string
 #4   0x8fe09bcc in check_and_report_undefineds
 #5   0x8fe045fc in unload_bundle_image
 #6   0x8fe12368 in _dyld_unlink_module
 #7   0x900b1ca4 in NSUnLinkModule
 #8   0x00022a7c in ap_os_dso_unload
 #9   0x000029d0 in unload_module
 #10  0x00011b84 in run_cleanups
 #11  0x000106ac in ap_clear_pool
 #12  0x00006e70 in standalone_main
 #13  0x00007828 in main
 #14  0x000026e0 in _start
 #15  0x00002560 in start

PPC Thread State:
  srr0: 0x8fe1f490 srr1: 0x0000f030                vrsave: 0x00000000
   xer: 0x20000000   lr: 0x8fe294dc  ctr: 0x8fe29468   mq: 0x00000000
    r0: 0x8fe29468   r1: 0xbffff3a0   r2: 0x8fe4b400   r3: 0x001436fe
    r4: 0x00000002   r5: 0xbffff88c   r6: 0xbffff88c   r7: 0x66696e65
    r8: 0x64207379   r9: 0x001436fe  r10: 0x00000000  r11: 0x0000014c
   r12: 0x8fe71a50  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x8fe419fa
   r20: 0x00000000  r21: 0xffffffff  r22: 0xbffff760  r23: 0x00000000
   r24: 0x00000000  r25: 0x00000073  r26: 0xbffff890  r27: 0x00000002
   r28: 0x001436fe  r29: 0xbffff440  r30: 0x00000000  r31: 0x8fe28918
---- /LOG ----

Ideas, anyone?

Matt

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to