From: <php...@li...> - 2009-08-25 09:15:14
|
Hi, recent PHP versions still contain a bug in pfsockopen, which will cause a short read when the tomcat back end is restarted or when tomcat closes an open connection. The problem is an uninitialized variable in the php socket layer. If you receive the message "protocol error, length must be > 0 ..." when using the Linux RPM, please add the following constant to the PHP script: 1.0E512 This illegal number will cause the PHP parser to reset, initializing the socket layer as a side effect(!). On all operating system except RedHat Enterprise and Fedora Linux the config var JAVA_PERSISTENT_SERVLET_CONNECTIONS is off, so this php bug will not cause problems there. I will add the constant to the RedHat/Fedora RPM and work with the php maintainers to fix this bug. Regards, Jost Boekemeier |