Bug #14151 Updated: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2

From: Date: Fri, 21 Dec 2001 19:05:20 +0000
Subject: Bug #14151 Updated: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74734@lists.php.net to get a copy of this message
ID: 14151
Updated by: sander
Reported By: liao4619@uidaho.edu
Old Status: Open
Status: Feedback
Bug Type: OCI8 related
Operating System: Linux Red Hat 7.2
PHP Version: 4.0.6
New Comment:

Can you generate a backtrace? (http://bugs.php.net/bugs-generating-backtrace.php)

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

[2001-12-21 13:01:41] liao4619@uidaho.edu

If you visit from following URL:
http://kellinux.cs.uidaho.edu/cs461/login.php

you can find php can access my oracle9i EE database well. The php script on this
machine(kellinux.cs.uidaho.edu)  is the same one from previous machine (hermes.campus.uidaho.edu).
They both visit the Oracle9i database server on  hermes.campus.uidaho.edu.



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

[2001-12-21 12:45:49] liao4619@uidaho.edu

Yesterday I installed/Compiled Php4.1.0 with Oracle9i on Linux Red Hat 7.2 (kernel 2.4.7-10). All
the installation work perfect, however when I connect with oracle database from netscape brower. The
brower still popups a error window:

Netscape: Error
The documentation contained on data.
Try again later, or contact the server's administrator.

Check apache error_log:


[Fri Dec 21 09:14:46 2001] [notice] child pid 4972 exit signal Segmentation fault (11)
[Fri Dec 21 09:14:46 2001] [notice] child pid 2728 exit signal Segmentation fault (11)
[Fri Dec 21 09:16:21 2001] [notice] child pid 2726 exit signal Segmentation fault (11)
[Fri Dec 21 09:16:45 2001] [notice] child pid 4975 exit signal Segmentation fault (11)
[Fri Dec 21 09:16:45 2001] [notice] child pid 4974 exit signal Segmentation fault (11)
[Fri Dec 21 09:16:59 2001] [notice] child pid 5600 exit signal Segmentation fault (11)
[Fri Dec 21 09:16:59 2001] [notice] child pid 2729 exit signal Segmentation fault (11)
[Fri Dec 21 09:17:29 2001] [notice] child pid 2725 exit signal Segmentation fault (11)
[Fri Dec 21 09:17:29 2001] [notice] child pid 2724 exit signal Segmentation fault (11)
[Fri Dec 21 09:17:44 2001] [notice] child pid 5607 exit signal Segmentation fault (11)
[Fri Dec 21 09:17:44 2001] [notice] child pid 2727 exit signal Segmentation fault (11)
[Fri Dec 21 09:18:40 2001] [notice] child pid 5611 exit signal Segmentation fault (11)
[Fri Dec 21 09:18:40 2001] [notice] child pid 5608 exit signal Segmentation fault (11)
[Fri Dec 21 09:19:13 2001] [notice] child pid 5612 exit signal Segmentation fault (11)

Apache 1.3.19 was installed with libpthread,
 check "ldd /usr/local/apache/bin/httpd":
 libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4002f000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40044000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40067000)
        libdb.so.2 => /usr/lib/libdb.so.2 (0x40094000)
        libdl.so.2 => /lib/libdl.so.2 (0x400a2000)
        libc.so.6 => /lib/i686/libc.so.6 (0x400a6000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

check "httpd -l" of apache configuration:
Compiled-in modules:
  http_core.c
  mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec


You may find my php 4.1.0 information from following URL:
http://hermes.campus.uidaho.edu/project/liao.php

If you visit following URL:
http://hermes.campus.uidaho.edu/project/login.php
you can see what happens to php!

If I visited same php scripts  located on another machine with php4.0.4 (complied with oracle8). The
same php scripts can access data from my current oracle9iEE database server. It means that my
current oracle9i EE server is working well and can communicate with php4.0.4 without any problem.

 
Please give me some suggestion about the error.

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

[2001-12-13 06:29:33] sander@php.net

No feedback. Closing.

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

[2001-11-21 12:50:57] sniper@php.net

Check this manual page:

http://www.php.net/manual/en/ref.oci8.php

And especially the part about linking Apache with libpthread.

--Jani


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

[2001-11-20 12:19:46] derick@php.net

Check your httpd error_log and see if it has things like "segmentation fault".
If so, read on how to make a backtrace at "bugs.php.net/how-to-report.php Add that backtrace to
this report.

Derick

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

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/?id=14151


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



Thread (10 messages)

« previous php.dev (#74734) next »