Bug #78359 [Opn->Dup]: Php cannot access to other files when executed from OneDrive
| From: | requinix@php.net | Date: | Wed, 31 Jul 2019 21:34:25 +0000 |
| Subject: | Bug #78359 [Opn->Dup]: Php cannot access to other files when executed from OneDrive | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222032@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78359&edit=1
ID: 78359
Updated by: requinix@php.net
Reported by: 0ddlyokoOfficial at gmail dot com
Summary: Php cannot access to other files when executed from
OneDrive
-Status: Open
+Status: Duplicate
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows
PHP Version: Irrelevant
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2019-07-31 21:29:12] 0ddlyokoOfficial at gmail dot com
Description:
------------
Tested versions:
- php7.1.9
- php7.1.31
- php7.2.5
Php cannot read other files if these files are on OneDrive.
This error occures because of the May 2019 update.
After some researches, it seams this guy has the same problem:
https://stackoverflow.com/questions/56791646/php-file-loading-or-listing-operations-not-working
This bug has already been reported but without answers:
https://bugs.php.net/bug.php?id=78220
Test script:
---------------
test.php:
<?php
include("test2.php");
?>
test2.php:
<?php
echo "Hello world";
?>
These both files MUST be in the OneDrive folder
Expected result:
----------------
Hello world
Actual result:
--------------
Warning: include(test2.php): failed to open stream: No such file or directory in test.php on line 2
Warning: include(): Failed opening 'test2.php' for inclusion
(include_path='.;C:\php\pear') in test.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78359&edit=1