Bug #78359 [NEW]: Php cannot access to other files when executed from OneDrive

From: Date: Wed, 31 Jul 2019 21:29:12 +0000
Subject: Bug #78359 [NEW]: Php cannot access to other files when executed from OneDrive
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222031@lists.php.net to get a copy of this message
From: 0ddlyokoOfficial at gmail dot com Operating system: Windows PHP version: Irrelevant Package: *Directory/Filesystem functions Bug Type: Bug Bug description:Php cannot access to other files when executed from OneDrive 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 bug report at https://bugs.php.net/bug.php?id=78359&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78359&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78359&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78359&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78359&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78359&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78359&r=support Expected behavior: https://bugs.php.net/fix.php?id=78359&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78359&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78359&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78359&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78359&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78359&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78359&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78359&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78359&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78359&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78359&r=mysqlcfg

« previous php.bugs (#222031) next »