php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70887 Relative Linux path no longer works
Submitted: 2015-11-10 08:14 UTC Modified: 2015-11-10 18:28 UTC
From: petah dot p at gmail dot com Assigned:
Status: Closed Package: Built-in web server
PHP Version: 7.0.0RC6 OS: Windows 8.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: petah dot p at gmail dot com
New email:
PHP Version: OS:

 

 [2015-11-10 08:14 UTC] petah dot p at gmail dot com
Description:
------------
I just upgraded to PHP 7 RC6 from RC5 and now this command no longer works:

php -S 0.0.0.0:8001 -t C:\work\\example\bin\/../public/ C:\work\\example\bin\/../router.php

It says:

Directory C:\work\example\bin\/../public/ does not exist.

This however works fine:

php -S 0.0.0.0:8001 -t C:\work\example\public C:\work\example\bin\/../router.php

It used to work in PHP 5 and <= 7 RC5


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-10 10:25 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-11-10 10:25 UTC] ab@php.net
Can't reproduce here. Both variants work on my side. So either the directory doesn't exist indeed, or there's something you didn't mention for the reproduction case.

Thanks.
 [2015-11-10 18:28 UTC] petah dot p at gmail dot com
-Status: Feedback +Status: Closed
 [2015-11-10 18:28 UTC] petah dot p at gmail dot com
Sorry, looks like I was actually using an old dev build.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 17:01:33 2025 UTC