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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC