ID: 25767 Updated by: [EMAIL PROTECTED] Reported By: colin dot harford at ualberta dot ca -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: OpenBSD -current PHP Version: 4.3.4RC1 New Comment:
Is the path to that mysql lib in your LD_LIBRARY_PATH or not? Previous Comments: ------------------------------------------------------------------------ [2003-10-07 16:23:13] colin dot harford at ualberta dot ca # objdump -p libphp4.so libphp4.so: file format elf32-i386 Program Header: LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 filesz 0x000fc450 memsz 0x000fc450 flags r-x LOAD off 0x000fd000 vaddr 0x20000000 paddr 0x20000000 align 2**12 filesz 0x000274e0 memsz 0x000274e0 flags r-- LOAD off 0x001244e0 vaddr 0x200284e0 paddr 0x200284e0 align 2**12 filesz 0x0000d248 memsz 0x0000d248 flags rw- LOAD off 0x00131728 vaddr 0x20036728 paddr 0x20036728 align 2**12 filesz 0x00001408 memsz 0x00001408 flags rw- LOAD off 0x00132b30 vaddr 0x20038b30 paddr 0x20038b30 align 2**12 filesz 0x00000088 memsz 0x00005024 flags rw- DYNAMIC off 0x00132b30 vaddr 0x20038b30 paddr 0x20038b30 align 2**2 filesz 0x00000088 memsz 0x00000088 flags rw- Dynamic Section: NEEDED libmysqlclient.so.12.0 NEEDED libm.so.1.0 INIT 0x24770 FINI 0x247a0 HASH 0x134 STRTAB 0xc998 SYMTAB 0x42f8 STRSZ 0x93e8 SYMENT 0x10 PLTGOT 0x20036728 PLTRELSZ 0x2210 PLTREL 0x11 JMPREL 0x1e098 REL 0x15d80 RELSZ 0x8318 RELENT 0x8 I have put up the config.log from that STABLE-snapshot at http://www.ualberta.ca/~charford/config.log ------------------------------------------------------------------------ [2003-10-07 11:00:56] colin dot harford at ualberta dot ca (gw!/opt/apache2/modules) [root-ttyp2] # ldd libphp4.so libphp4.so: libphp4.so: Exec format error libphp4.so: exit status 1 hmmmm. CH ------------------------------------------------------------------------ [2003-10-07 04:04:16] [EMAIL PROTECTED] Not sure but I think it's just missing path in LD_LIBRARY_PATH..check what this outputs: # ldd libphp4.so ------------------------------------------------------------------------ [2003-10-06 21:50:27] colin dot harford at ualberta dot ca There is nothing in /var/log: I set syslog to log everything to /var/log/all as well as everywhere else, and nothing was placed there. I can't run strace, as it doesn't exist for OpenBSD. However, I did run a ktrace, which is similar ktrace ./ httpd -X -DONE_PROCESS. The kdump of it is quite long, so I placed it on: http://www.ualberta.ca/~charford/ log.txt Thanks, CH ------------------------------------------------------------------------ [2003-10-06 21:18:36] [EMAIL PROTECTED] you should also try strace on httpd: # strace httpd -X -DONE_PROCESS You can then see where it bails out. ------------------------------------------------------------------------ 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/25767 -- Edit this bug report at http://bugs.php.net/?id=25767&edit=1