|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60390 Missing _SERVER[SERVER_PORT]
Submitted: 2011-11-25 20:16 UTC Modified: 2011-11-25 21:18 UTC
From: fabien+php at pennequin dot me Assigned: pajoye (profile)
Status: Closed Package: Built-in web server
PHP Version: 5.4.0RC2 OS: Mac OS X 10.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: fabien+php at pennequin dot me
New email:
PHP Version: OS:


 [2011-11-25 20:16 UTC] fabien+php at pennequin dot me
The _SERVER[SERVER_PORT] variable is missing with the php built-in server.
This is useful for generate full URLs and it's used by some php frameworks.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-25 21:18 UTC]
Automatic comment from SVN on behalf of pajoye
Log: - implement FR #60390, SERVER_PORT missing
 [2011-11-25 21:18 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2011-11-25 21:18 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: pajoye
 [2011-11-25 21:21 UTC]
Automatic comment from SVN on behalf of pajoye
Log: - FR #60390
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 11:03:58 2022 UTC