|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
46 + 35 = ?
Subscribe to this entry?

 [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: Mon Oct 03 11:05:53 2022 UTC