Bug #69199 [Fbk->NoF]: require_once doesn't require ./ files

From: Date: Sun, 22 Mar 2015 04:22:18 +0000
Subject: Bug #69199 [Fbk->NoF]: require_once doesn't require ./ files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191519@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69199&edit=1

 ID:               69199
 Updated by:       php-bugs@lists.php.net
 Reported by:      pegasus at vaultwiki dot org
 Summary:          require_once doesn't require ./ files
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Centos 6 64-bit
 PHP Version:      master-Git-2015-03-07 (Git)
 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:
------------------------------------------------------------------------
[2015-03-21 13:43:32] pegasus at vaultwiki dot org

My mistake, this still occurs in the installation after running the script a few times. It seems
this has something to do with the Zend Opcache. When it is disabled, I can no longer reproduce the
issue.

------------------------------------------------------------------------
[2015-03-21 13:28:00] pegasus at vaultwiki dot org

This issue was fixed by re-installing the affected PHP installation.

------------------------------------------------------------------------
[2015-03-09 17:04:28] pegasus at vaultwiki dot org

Strange. Re-did make install, restarted php-fpm, and this issue has magically disappeared.

------------------------------------------------------------------------
[2015-03-08 05:01:26] rasmus@php.net

I am not able to reproduce this. Can you provide a standalone example?
Looking at both the code and an strace, nothing has changed here. An explicit require of
./includes/filename.php will only attempt to load that file from the directory the parent script is
in.

------------------------------------------------------------------------
[2015-03-08 02:55:18] demon@php.net

Could you please check your report_erroring level? Maybe the level is too High. In my computer I get
two Warning:

Warning: include_once(./2.php): failed to open stream: No such file or directory in /tmp/1.php on
line 3

Warning: include_once(): Failed opening './2.php' for inclusion
(include_path='.:') in /tmp/1.php on line 3
array(1) {
  [0]=>
  string(10) "/tmp/1.php"
}

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


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=69199


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


Thread (21 messages)

« previous php.bugs (#191519) next »