php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23404 apache 2.0.45 with oci8 core dumped
Submitted: 2003-04-29 07:30 UTC Modified: 2003-05-15 13:11 UTC
From: m dot antonini at inwind dot it Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.2RC2 OS: OSF1 V5.1 732 alpha
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: m dot antonini at inwind dot it
New email:
PHP Version: OS:

 

 [2003-04-29 07:30 UTC] m dot antonini at inwind dot it
I installed apache 2.0.45

step1.

- ./configure --prefix=/dwt/LensTools/apache_2.0.45 --enable-so

step2.

- make

step3.
- make install

I installed php 4.3.2RC2

step1.

- ./configure  --prefix=/dwt/LensTools/php-4.3.2RC2 --with-apxs2=/dwt/LensTools/apache_2.0.45/bin/apxs --enable-sockets --with-oci8 

step2.

- make

step3.

- make install

I wrote this

/dwt/LensTools/apache_2.0.45/bin-[dwttu]> apachectl start
apachectl: 16572 Memory fault - core dumped
/dwt/LensTools/apache_2.0.45/bin-[dwttu]>

Below the core debug:

/dwt/LensTools/apache_2.0.45/bin-[dwttu]> dbx httpd core
dbx version 5.1
Type 'help' for help.
Core file created by program "httpd"

thread 0x6 signal Segmentation fault at 
warning: PC value 0x3ff8000aeb0 not valid, trying RA

warning: RA value 0x3ff8000aec0 not valid, trying text start

warning: text start 0x120000000 not valid, trying data start

warning: Using data start as a text address -- traceback will not work
> [., 0x140000000]      call_pal cflush
(dbx) where
   0 (noname)() [0x120000000]
(dbx) 

As you can see the lpthread library are just linked
Apache 2.0.45 link this library automatically when you install it.

/dwt/LensTools/apache_2.0.45/bin-[dwttu]> ldd httpd

        Main  =>   httpd
        libaprutil-0.so.0  =>   /dwt/LensTools/apache_2.0.45/lib/libaprutil-0.so.0
        libexpat.so.0  =>   /dwt/LensTools/apache_2.0.45/lib/libexpat.so.0
        libiconv.so  =>   /usr/shlib/libiconv.so
        libapr-0.so.0  =>   /dwt/LensTools/apache_2.0.45/lib/libapr-0.so.0
        libm.so  =>   /usr/shlib/libm.so
        libpthread.so  =>   /usr/shlib/libpthread.so
        libmach.so  =>   /usr/shlib/libmach.so
        libexc.so  =>   /usr/shlib/libexc.so
        libc.so  =>   /usr/shlib/libc.so
        libgcc_s.so.1  =>   /opt/TWWfsw/lib/libgcc_s.so.1

All work well when I compile php without oci8.

I hope this help you.

Thanks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 10:33 UTC] sniper@php.net
Have you set all the required environment variables mentioned
in the beginning of this page:
  
  http://www.php.net/manual/en/ref.oci8.php

And if that doesn't help, try with Apache 1.3.27 which 
works much better than apache2..

 [2003-04-30 05:27 UTC] m dot antonini at inwind dot it
Excuse me.
I wrote wrong.....

I installed apache 1.3.24.
The environment variables are setted well.
There is only one problem. I have to comment 
"LoadModule php4_module        libexec/libphp4.so" line in httpd.conf
before to write "apachectl start" . After i have to  decomment this line and to
write "apachectl restart". The same thing with apache_1.3.27. Mmmmhhhh! I
think it's an OS problem.....

thanks
 [2003-04-30 05:58 UTC] sniper@php.net
Huh? Why would you need to do that?
Anyway, did the crash happen with apache 1.3.24 ??

 [2003-04-30 07:47 UTC] m dot antonini at inwind dot it
Hi! Crash happened in both versions: if I don't comment in that specific line, writing "apachectl start", web server doesn't start. After I have writed that if i write at the command line "ps -ef|grep apache" no apache process is going on. It happened in both versions.
What do you think about it?

Regards.
 [2003-04-30 12:00 UTC] derick@php.net
Try to start it manually (without apachectl), it should give you a better error then.

Derick
 [2003-05-07 04:17 UTC] m dot antonini at inwind dot it
I tried to start apache 1.3.27 with "httpd start".
In error_log file apache wrote 
"[Wed May  7 11:09:12 2003] [notice] caught SIGTERM, shutting down"

Regards
 [2003-05-15 13:11 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC