Bug #54955 [Fbk->NoF]: FastCGI doesn't recognize Windows relative paths

From: Date: Sun, 21 Aug 2022 04:22:08 +0000
Subject: Bug #54955 [Fbk->NoF]: FastCGI doesn't recognize Windows relative paths
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242271@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54955&edit=1

 ID:               54955
 Updated by:       php-bugs@lists.php.net
 Reported by:      johanntrg at msn dot com
 Summary:          FastCGI doesn't recognize Windows relative paths
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          CGI/CLI related
 Operating System: Windows 7 64bits SP1
 PHP Version:      5.3.6
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2022-08-10 10:33:09] cmb@php.net

@lvslinux, did you set the PHP directive doc_root to an *absolute*
path?

------------------------------------------------------------------------
[2022-08-10 08:53:28] lvslinux at gmail dot com

The same bug still exists. PHP Version 8.1.8 and ngix webserver. 
If the root in the NGIX server is i.e. "root ../myserver/ ;" the resolved SCRIPT_FILE name
will contain "..". This causes a " No input file specified" error even thou the
file exists and the path is valid.

------------------------------------------------------------------------
[2021-09-05 04:22:08] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

------------------------------------------------------------------------
[2021-08-27 14:44:29] cmb@php.net

To clarify: in nginx.conf you have

    root: ../files

and in php.ini you have set doc_root to the absolute path of that
root?  This works for me; either the issue has been fixed in the
meantime, or I'm missing something.  Please clarify.

------------------------------------------------------------------------
[2012-12-04 09:14:08] marc dot fauser+php at gmail dot com

I have the same problem since months. I would even pay money to get this bug fixed. So far you can
"solve" it by using mklink.

e.g.
mklink /J files ..\files

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=54955


--
Edit this bug report at https://bugs.php.net/bug.php?id=54955&edit=1


Thread (7 messages)

« previous php.bugs (#242271) next »