The mapped local disk is unreadable

I have such a problem! connected network (local drive). I want to scan it with php, but it doesn’t work. What could be the problem? I use the scandir().

method


Answer 1, authority 100%

Try running the Appache service under a different account (e.g. administrator. Appache uses SYSTEM by default).
You may also need to set the local security policy “Network access: Deny anonymous access to named pipes and shares” to disabled.

But you expose your computer to additional threats.