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

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 12 different diffs reported by users for this test.

Count Diff
63 (72%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/bug61977.php on line 9
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
5 (6%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Permission denied) in %s/bug61977.php on line 9
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
4 (5%)
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 9
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 9
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
007+ connect failed
4 (5%)
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
3 (3%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Network is unreachable) in %s/bug61977.php on line 9
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
2 (2%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/bug61977.php on line 33
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
1 (1%)
006+
006- foo.png => Content-Type: image/png
007+ Warning: fsockopen(): unable to connect to localhost:8964 (Operation timed out) in %s/bug61977.php on line 122
008+ connect failed
1 (1%)
005+
006+ Warning: fsockopen(): unable to connect to localhost:8964 (Operation timed out) in %s/bug61977.php on line 100
005- foo.js => Content-Type: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
007+ connect failed
1 (1%)
003+
004+ Warning: fsockopen(): unable to connect to localhost:8964 (Operation timed out) in %s/bug61977.php on line 56
005+ connect failed
003- foo.svg => Content-Type: image/svg+xml
004- foo.css => Content-Type: text/css; charset=UTF-8
005- foo.js => Content-Type: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
1 (1%)
001+ foo.html => Content-type: text/html
002+ foo.htm => Content-type: text/html
003+ foo.svg => Content-type: text/html
004+ foo.css => Content-type: text/html
005+ foo.js => Content-type: text/html
006+ foo.png => Content-type: text/html
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
1 (1%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection timed out) in %s/bug61977.php on line 9
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: text/javascript; charset=UTF-8
006- foo.png => Content-Type: image/png
1 (1%)