php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63249 built-in webserver does not work with Opera browser
Submitted: 2012-10-09 15:10 UTC Modified: 2016-08-31 22:05 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: pascal dot chevrel at free dot fr Assigned: cmb (profile)
Status: Wont fix Package: Built-in web server
PHP Version: 5.4.7 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-10-09 15:10 UTC] pascal dot chevrel at free dot fr
Description:
------------
If I launch the php built in web server on any port (php -S localhost:8002), it works in Firefox and Chrome but not in Opera (12.10) which doesn't find any server and displays its internal error page.

If I launch a python server on the same port, it works in Opera.

I am not seeing any request from Opera in the console while the server is running.

I tried to debug the problem with an Opera employee and we couldn't find the problem on Opera side, it seems that the problem is on PHP side. (I will forward this bug number to him so as that he can get in touch with you in case you need to interact with Opera directly).

Test script:
---------------
php -S localhost:8002

Expected result:
----------------
Server works in Opera browser

Actual result:
--------------
Server not working in Opera browser

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-09 15:25 UTC] laruence@php.net
sounds very weird, maybe you can debug it with tcpdump, to check whether the 
request really arrived.
 [2012-10-09 16:38 UTC] johannes@php.net
As a guess: Might this be an IPv6 issue? Can you try loading http://127.0.0.1:8002/ and http://[::1]:8002/

Please also checks whether your /etc/hosts lists "localhost" as ::1 or 127.0.0.1
 [2012-10-09 16:38 UTC] johannes@php.net
-Status: Open +Status: Feedback
 [2012-10-09 16:41 UTC] pascal dot chevrel at free dot fr
-Status: Feedback +Status: Open
 [2012-10-09 16:41 UTC] pascal dot chevrel at free dot fr
good guess :
http://[::1]:8002/ works
my /etc/hosts lists localhost as 127.0.0.1
 [2012-10-09 22:58 UTC] johannes@php.net
Assigning to author.
 [2012-10-09 22:58 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: moriyoshi
 [2016-08-31 22:05 UTC] cmb@php.net
-Status: Assigned +Status: Wont fix -Assigned To: moriyoshi +Assigned To: cmb
 [2016-08-31 22:05 UTC] cmb@php.net
I can confirm this issue for Opera 12 (and also that using the IP
loopback address works around the issue), but Opera 12 is long
gone. So I'm closing this ticket.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC