Re: Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0

From: Date: Mon, 08 Nov 2004 19:51:54 +0000
Subject: Re: Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0
Groups: php.general 
Request: Send a blank email to php-general+get-201561@lists.php.net to get a copy of this message
[resent, this time with the correct subject, sorry] > I have tried to compile "php-java-bridge" v1.0.5. > /opt/php/php-4.3.9/php-java- > bridge_1.0.5/server/natcJavaBridge.c:202: > too many arguments to function `sigwait' Solaris has a non-standard sigwait() function. It requires a special flag to archive POSIX compatibility (see man page). Another Solaris problem is that stdio is broken; you cannot use stdio buffering for non-seekable streams. Version 1.0.6a of the PHP/Java Bridge solves both problems. I have tested on a Sparc64 system with Solaris 9. --> http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_1.0.6a.tar.bz2?download > compile the standard java extension in "ext/java" Even if you succeed to compile the bridge, this will not help you to solve the problem on Unix. The "standard" java extension does not work on Unix with the default (prefork) Apache because of its design. On Unix it is necessary to separate the JVM from the apache request handling processes. Either by running a servlet engine or via the php/java bridge. Jost ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

« previous php.general (#201561) next »