php/is_readable and shared dirs
Posted: 5. Apr 2015, 14:42
Hello.
I checked internet and found dozens the same reports, mostly a few years old, however no final solutions nor answers.
Please note, reports I've found on Internet, apply do various combination of operating systems.
In my case host as well as guest are Windows machines. Host is Win7 64b, Guest is WinXP 32b.
In my case php source files are stored on Host machine.
On guest machine servers are installed (apache+php, database). Apache dir points to shared directory (shared by VirtualBox mechanism).
Files are perfectly accessible to apache as well as php. For example I can read files using file_get_contents() function without problem.
There is one exception: function is_readable(file) returns false while file is in fact readable.
I tried to run VB with admin rights - without reason.
I though that VB5.0 beta will bring some change, but it's not.
I checked php 5.2 as well as 5.3. On (php) forums I found statement that it must be VB related issue.
My question is how to manage the issue. Is it really a VB bug, unresolvable issue, or I just have to apply some configuration tasks to make it working?
With regards
I checked internet and found dozens the same reports, mostly a few years old, however no final solutions nor answers.
Please note, reports I've found on Internet, apply do various combination of operating systems.
In my case host as well as guest are Windows machines. Host is Win7 64b, Guest is WinXP 32b.
In my case php source files are stored on Host machine.
On guest machine servers are installed (apache+php, database). Apache dir points to shared directory (shared by VirtualBox mechanism).
Files are perfectly accessible to apache as well as php. For example I can read files using file_get_contents() function without problem.
There is one exception: function is_readable(file) returns false while file is in fact readable.
I tried to run VB with admin rights - without reason.
I though that VB5.0 beta will bring some change, but it's not.
I checked php 5.2 as well as 5.3. On (php) forums I found statement that it must be VB related issue.
My question is how to manage the issue. Is it really a VB bug, unresolvable issue, or I just have to apply some configuration tasks to make it working?
With regards