Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 18:07:01 -0700 
From:      Wesley Biggs <BiggsW@kpe.com>
To:        "'freebsd-java@freebsd.org'" <freebsd-java@freebsd.org>
Subject:   Java2 + PHP + FreeBSD
Message-ID:  <5797F8B1EFF6D411845F00A0C9D634FE4AB267@LAE01>

next in thread | raw e-mail | index | archive | help
Does anyone have experience using the PHP servlet to support PHP pages
through a Java servlet engine?

I need to use Java 2, so I'm running linux-jdk1.3.1 rather than the native
1.1.8 port.  The issue seems to be that when the PHP servlet attempts to
load in libphp4.so (using System.loadLibrary()), the ABIs don't match (Linux
java process vs. FreeBSD shared library).

Any suggestions for how I can work around this?  I'm not a FreeBSD Linux
emulation expert, so maybe if there's a way to make the binaries more
compatible, that would solve my problem.

Incidentally, I tried compiling libphp4.so on a Linux box and moving it
over, then used brandelf to label it as Linux, but that gave me the same ABI
incompatibility error on loadLibrary().

Thanks in advance,

Wes


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5797F8B1EFF6D411845F00A0C9D634FE4AB267>