DWQA QuestionsCategory: ServerAfter the PHP environment is configured locally in Linux, the files in www directory will not be displayed in localhost.
Cheng PHP asked 1 month ago

As shown in the figure below, when configuring the PHP environment in Ubuntu, there are two files under the WWW path, and the highest permissions have been set for these two files. What is the reason for this?

Yujiaao replied 1 month ago

Put up your Apache configuration file

1 Answers
guanhui07 answered 1 month ago

Nginx or Apache server
It is not recommended to display directory structure online
To display
Need to add open directory browsing function
autoindex on;