From: [EMAIL PROTECTED]
Operating system: Linux Mandrake 7.2
PHP version: 4.0.4pl1
PHP Bug Type: Performance problem
Bug description: PHP hangs when packets aren't returned when using session_start()
Short script:
<? mysql_connect("10.0.0.244", "user", "passwd");?>
Really any socket connection code.
Configure Command:
'./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql=/usr'
'--with-mcrypt=../mcrypt-2.2.6' '--with-mhash=../mhash-0.8.4' '--with-ldap'
'--with-fdftk' '--with-pdflib' '--with-zlib' '--with-gd' '--with-pspell' '--with-oci8'
'--with-java=/opt/IBMJava2-13' '--enable-sigchild'
Pretty much the default php.ini.
We noticed this occurring once we put the machine inside a DMZ. If PHP tries to
connect to an address that the DMZ isn't allowing, the DMZ throws the packets away and
PHP sits there waiting for a response. This only happens when session_start() is
called in the page. If session_start() is commented out, the normal PHP warnings
appear telling me of mysql or ldap not being able to connect.
--
Edit Bug report at: http://bugs.php.net/?id=9427&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]