Test: /sapi/cli/tests/bug61977.phpt - Version 7.0.8        

Bug #61977 Need CLI web-server support for files with .htm & svg extensions
Submitted: 2012-05-08 20:51:06 Modified: 2012-06-20 17:14:53
From: sixd Assigned: laruence
Status: Closed Package: Built-in web server
PHP Version: 5.4.3 OS: All

There are 4 different diffs reported by users for this test.

Count Diff
3 (30%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/bug61977.php on line 15
002+ Connect failed
001- foo.html => Content-Type: text/html; charset=UTF-8
002- foo.htm => Content-Type: text/html; charset=UTF-8
003- foo.svg => Content-Type: image/svg+xml
004- foo.css => Content-Type: text/css; charset=UTF-8
005- foo.js => Content-Type: application/javascript
006- foo.png => Content-Type: image/png
007- foo.webm => Content-Type: video/webm
008- foo.ogv => Content-Type: video/ogg
009- foo.ogg => Content-Type: audio/ogg
3 (30%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
003+
004+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug61977.php on line 15
005+
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/bug61977.php on line 15
007+ Connect failed
001- foo.html => Content-Type: text/html; charset=UTF-8
002- foo.htm => Content-Type: text/html; charset=UTF-8
003- foo.svg => Content-Type: image/svg+xml
004- foo.css => Content-Type: text/css; charset=UTF-8
005- foo.js => Content-Type: application/javascript
006- foo.png => Content-Type: image/png
007- foo.webm => Content-Type: video/webm
008- foo.ogv => Content-Type: video/ogg
009- foo.ogg => Content-Type: audio/ogg
3 (30%)
001+ ** ERROR: process timed out **
001- foo.html => Content-Type: text/html; charset=UTF-8
002- foo.htm => Content-Type: text/html; charset=UTF-8
003- foo.svg => Content-Type: image/svg+xml
004- foo.css => Content-Type: text/css; charset=UTF-8
005- foo.js => Content-Type: application/javascript
006- foo.png => Content-Type: image/png
007- foo.webm => Content-Type: video/webm
008- foo.ogv => Content-Type: video/ogg
009- foo.ogg => Content-Type: audio/ogg
1 (10%)
001+ foo.html => Content-type: text/html; charset=UTF-8
002+ foo.htm => Content-type: text/html; charset=UTF-8
003+ foo.svg => Content-type: text/html; charset=UTF-8
004+ foo.css => Content-type: text/html; charset=UTF-8
005+ foo.js => Content-type: text/html; charset=UTF-8
006+ foo.png => Content-type: text/html; charset=UTF-8
007+ foo.webm => Content-type: text/html; charset=UTF-8
008+ foo.ogv => Content-type: text/html; charset=UTF-8
009+ foo.ogg => Content-type: text/html; charset=UTF-8
001- foo.html => Content-Type: text/html; charset=UTF-8
002- foo.htm => Content-Type: text/html; charset=UTF-8
003- foo.svg => Content-Type: image/svg+xml
004- foo.css => Content-Type: text/css; charset=UTF-8
005- foo.js => Content-Type: application/javascript
006- foo.png => Content-Type: image/png
007- foo.webm => Content-Type: video/webm
008- foo.ogv => Content-Type: video/ogg
009- foo.ogg => Content-Type: audio/ogg