Bug #66690 [Asn->Fbk]: built-in web server hangs at second invocation

From: Date: Wed, 02 Apr 2014 07:24:38 +0000
Subject: Bug #66690 [Asn->Fbk]: built-in web server hangs at second invocation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185026@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66690&edit=1 ID: 66690 Updated by: ab@php.net Reported by: gn-php-bug at hothaus dot de Summary: built-in web server hangs at second invocation -Status: Assigned +Status: Feedback Type: Bug Package: Built-in web server Operating System: Windows 8 PHP Version: 5.5.10 Assigned To: ab Block user comment: N Private report: N New Comment: @gn-php-bug that's what i see here on win8 with your snippet >php -S 127.0.0.1:8080 -t. $ curl -v http://127.0.0.1:8080/66690.php * About to connect() to 127.0.0.1 port 8080 (#0) * Trying 127.0.0.1... * Adding handle: conn: 0x2317e80 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 0 (0x2317e80) send_pipe: 1, recv_pipe: 0 * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0) > GET /66690.php HTTP/1.1 > User-Agent: curl/7.30.0 > Host: 127.0.0.1:8080 > Accept: */* > < HTTP/1.1 200 OK < Host: 127.0.0.1:8080 < Connection: close < X-Powered-By: PHP/5.5.12-dev < Content-type: text/html < <html> <head> <title>PHP-Test</title> </head> <body> <p>Hello World</p> </body> </html> * Closing connection 0 So no reproduce for me, any request is served. Have to figure out what the difference is, maybe something of this could help - try another win8 machine - try to change the port - try to change ip - use curl or anything else you can to see more in background Maybe you could take a closer look on the diff in the network configuration between your win7 and win8. Thanks Previous Comments: ------------------------------------------------------------------------ [2014-04-01 23:59:22] johannes@php.net Assign to Windows expert to follow up ------------------------------------------------------------------------ [2014-04-01 18:57:15] gn-php-bug at hothaus dot de I used php-5.5.10-nts-Win32-VC11-x86.zip downloaded from http://windows.php.net/download/ The ini file is php.ini-development, renamed to php.ini The ini file is otherwise unmodified as supplied with above package. The extensions are as supplied with above package. ------------------------------------------------------------------------ [2014-04-01 17:13:56] ab@php.net Please post your ini. Also, have you tried the same with no extensions loaded? Where did you get your PHP build? ------------------------------------------------------------------------ [2014-02-11 10:43:50] gn-php-bug at hothaus dot de I have tried it with the latest PHP Version 5.5.9. It has the same problem. ------------------------------------------------------------------------ [2014-02-10 23:04:10] gn-php-bug at hothaus dot de Description: ------------ the first php document submitted to the built-in web server works correctly. But any subsequent document (same as first or any other) causes the browser to hang for two minutes. Then, Firefox (V23) says something like "Error: time exceeded", and IE 10 says "document cannot be shown". (I can't report the exact English wordings here, because I'm using German versions of FF and IE). If I stop and restart the PHP Built-in webserver, it works again, but again only for one document. The problem occurs only on Windows 8. It works just fine on Windows 7. Test script: --------------- <html> <head> <title>PHP-Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66690&edit=1

« previous php.bugs (#185026) next »