ID: 11686
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Java related
Operating System: linux redhat 7.1
PHP Version: 4.0.6
New Comment:

no user feedback.  if this problem still persists, please reopen the bug.

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

[2001-06-27 11:51:31] [EMAIL PROTECTED]

Please include the shortest possible script into this report
which can be used to reproduce this.


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

[2001-06-27 11:50:40] [EMAIL PROTECTED]

Please read the email to the end..and you will find
the URL which to use to reply. DO NOT REPLY VIA EMAIL!!!


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

[2001-06-26 08:45:57] [EMAIL PROTECTED]

One more thing, does db2 work if you leave java out?


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

[2001-06-26 08:45:02] [EMAIL PROTECTED]

I hope you're not using 'apachectl restart'? Use stop/start instead. If this wasn't 
the problem, please generate
a GDB backtrace of the crash. Instructions can be found here:

http://www.php.net/bugs-generating-backtrace.php



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

[2001-06-26 02:26:47] [EMAIL PROTECTED]

build php with db2-support, AND java, and ONLY when running it under APACHE (I tried 
several versions, but last time i used:1.3.20).

If i remove db2-support, it works ok, or run php standalone.

this bug exists in db2 7.1 (patchlevel 0,2,3 (latest)).

i have reproduced it under ibmjdk118, ibmjdk1.3, suns jdk1.2.2, suns jdk1.3.

workaround:  don't use db2 in php, do it from java instead.

cd /root
tar xvfz apache_1.3.20.tar.Z 
cd apache_1.3.20
./configure --prefix=/usr/local/apache --enable-module=so
make
make install

# 1.3
tcsh
setenv LD_ASSUME_KERNEL 2.2.5
setenv LD_LIBRARY_PATH 
/opt/jdk1.3/jre/lib/i386/client:/opt/jdk1.3/jre/lib/i386/classic:/opt/jdk1.3/jre/lib/i386

set path = ( /opt/jdk1.3/bin/ $path )
./configure --with-apxs=/usr/local/apache/bin/apxs --without-mysql --enable-sockets 
--with-java 
make
make install

restart apache)
(try run except.php to load java from apache).
now it works...

then:

add this line to php, (and make rm -rf on the php-directory, because of severe bugs in 
the configure/make process) (only configure from scratch work 100%).
--with-ibm-db2=/home/db2inst1/sqllib 
(also add /usr/Ibmdb2/V7.1/lib to LD_LIBRARY_PATH)

(restart apache)
(try run except.php (from netscape) to load java from apache).
now it does not work.
there will be NO response output.


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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to