An HTTP error 401.3 - Unauthorized occurred when running a PHP file.
I was instantly confused. I found many solutions on the Internet that were either very complicated or useless. Finally, after several attempts, I finally found that I only need to modify the permissions. Yes, but it is different from win7
As shown in the picture, you only need to right-click the site folder-Properties-Security-Edit to add an everyone permission and check the option as shown ( Except the top and bottom);
Okay, this problem is solved O(∩_∩)O
The above introduces the solution to the HTTP error 4013 - Unauthorized when running the php file after configuring the win10 php environment, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.