#23404 [Fbk->Opn]: apache 2.0.45 with oci8 core dumped

From: Date: Wed, 30 Apr 2003 12:47:44 +0000
Subject: #23404 [Fbk->Opn]: apache 2.0.45 with oci8 core dumped
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38828@lists.php.net to get a copy of this message
ID: 23404 User updated by: m dot antonini at inwind dot it Reported By: m dot antonini at inwind dot it -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: OSF1 V5.1 732 alpha PHP Version: 4.3.2RC2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-04-30 05:58:59] sniper@php.net Huh? Why would you need to do that? Anyway, did the crash happen with apache 1.3.24 ?? ------------------------------------------------------------------------ [2003-04-30 05:27:10] 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-29 10:33:29] 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-29 07:30:03] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23404&edit=1

« previous php.bugs (#38828) next »