|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29916 $_SERVER['DOCUMENT_ROOT'] does not have a trailing slash in PHP 4.3.8
Submitted: 2004-08-31 15:35 UTC Modified: 2004-10-08 01:00 UTC
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: koen at startphone dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.3.8 OS: any
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
37 - 14 = ?
Subscribe to this entry?

 [2004-08-31 15:35 UTC] koen at startphone dot com
The parameter $_SERVER['DOCUMENT_ROOT'] contains a trailing slash in PHP 4.3.7 but not in PHP 4.3.7

for example the expression echo $_SERVER['DOCUMENT_ROOT']
- returns /var/www/myrootweb/ in PHP 4.3.7
- returns /var/www/myrootweb in PHP 4.3.8


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-30 19:12 UTC]
And the SAPI you're using is..? (what webserver?)

 [2004-10-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 09:01:28 2024 UTC