After I passed the program written in PHP to the client, there was a problem that it could not be browsed, and the directory could not be browsed
After I passed the program written in PHP to the client, there was a problem that it could not be browsed, and the directory could not be browsed, but the customer I have set the permission to 777, but I still cannot browse. Please help me solve it. But php seems to be able to execute, but neither images nor css can be read
——Solution—————- —-
It seems to be a problem with apache configuration
File not allowed to be accessed
——Solution——————–
It should be a configuration problem with nginx
——Solution——————–
nginx needs to set up two directories, one for php scripts and the other for html and css
Brother, after I passed the program written in php to the client, there was a problem that it could not be browsed, and the directory could not be browsed.
This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/brother-after-i-passed-the-program-written-in-php-to-the-client-there-was-a-problem-that-it-could-not-be-browsed-and-the-directory-could-not-be-browsed/