ID: 21588 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Sockets related Operating System: WinNT 4.0 SP 6 PHP Version: 4.3.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip It doesn't crash for me.. Previous Comments: ------------------------------------------------------------------------ [2003-01-11 15:49:34] [EMAIL PROTECTED] Any call to socket_bind() which would fail will cause php.exe to crash: Exception: access violation (0xc0000005), Address 0x10011b1b Sample: <? $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $socket2 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($socket, "127.0.0.1", 5799); socket_bind($socket2, "127.0.0.1", 5799); ?> OR <? $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($socket, '1.1.1.1', 4567); ?> I used the windows build available from www.php.net, and I also used the php-ini.recommended, except that I uncommented the lines to load the modules php_bz2.dll, php_sockets.dll, php_zip.dll. NOTE: In retrospect, this may be the same bug as #21585 http://bugs.php.net/21585 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21588&edit=1