Bug #14151 Updated: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2
| From: | liao4619 at uidaho dot edu | Date: | Fri, 21 Dec 2001 18:01:41 +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-74728@lists.php.net to get a copy of this message | ||
ID: 14151
User updated by: liao4619@uidaho.edu
Reported By: liao4619@uidaho.edu
Status: Open
Bug Type: OCI8 related
Operating System: Linux Red Hat 7.2
PHP Version: 4.0.6
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2001-11-20 11:59:19] liao4619@uidaho.edu
I installed/compiled php4.0.6 with Oracle9i on RedHat 7.2 successfully. Following is the configure
command to compile/install php:
configure --with-oci8=/MyOracle_Home/ --with-apxs=/My_Apache_Home/bin/apxs
After compiling php, libphp4.so, and httpd.conf was generated in their apache directories.
Apache1.3.19 (with Dynamic Shared Object) can be started without any problem. Php script: <?
phpinfo(); ?>
shows that oci8 is enabled and current oracle version is 9.
However when use php to communicate with Oracle9i server, Netscape browser shows an error says that
there is no data in html. If use same php code in another machine with php4.0.6 compiled with
oracle8i, It can work with oracle9i server without any problem.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14151&edit=1