Hi,
first of all thank you very much for this problem
report. Please try to report such issues immediately.
> freebsd 6.0
For Linux, Solaris and Windows the CGI directory
contains php-cgi-<os>-<arch> executables, but not for
FreeBSD. -- I have a freebsd FastCGI binary here, but
I decided to not include it until we get a support
request[1].
So what happend is that the FastCGI servlet has
started /usr/bin/php in the asumtion that this is a
(Fast-)CGI binary, which isn't the case on FreeBSD.
FreeBSD only ships with a command line binary. The PHP
cli binary is similar to the cgi binary but doesn't
read HTTP information like X_JAVABRIDGE_CONTEXT=, so
the communication channel doesn't work.
To fix this problem please install a php-cgi binary
into /usr/bin/ or please start a standalone PHP
FastCGI server with the command:
./php-cgi -b:9667
(Please see the section PHP without Apache/IIS
front-end in the README for details).
[freebsd port available ]
> for the php-java bridge?
I don't think one exists. Until recently it wasn't
legally (and technically[1]) possible to ship a
pre-compiled java binary for FreeBSD. Now that this is
possible I will add a php-cgi-x86-freebsd FastCGI
binary to the JavaBridge.war. I will inform you when
it's available.
Regards,
Jost Boekemeier
[1] Due to thread-related problems GNU "Java" (gcj)
does not run properly on FreeBSD.
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|