From: <php...@li...> - 2006-06-06 17:59:35
|
Hi, > php within tomcat without apache now I understand. This is a bug in the PHP/Java Bridge. The the PhpCGIServlet sets the environment variable X_JAVABRIDGE_OVERRIDE_HOSTS=127.0.0.1:SSL_PORT so that the java.so can connect back to the current VM, which doesn't work, of course, if the request came in from the SSL port. It must connect to the PORT specified in the php.ini file. I have opened a ticket for this, please see PR1501791 for details: http://sourceforge.net/tracker/index.php?func=detail&aid=1501791&group_id=117793&atid=679233 As a workaround, until this bug is fixed, please switch off the override_hosts setting in the web.xml: <!-- Allow us to override the java.hosts, java.servlet and --> <!-- java.socketname settings from your php.ini so that we can --> <!-- use the current VM (see X_JAVABRIDGE_OVERRIDE_HOSTS). --> <!-- Default is On. --> <init-param> <param-name>override_hosts</param-name> <param-value>Off</param-value> </init-param> and set the java.hosts and java.servlet options in the WEB-INF/cgi/php-i386-linux.ini (or whatever php ini you use). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |