Apache does not read subdirectories

0

Hello,

I'm starting with Linux now and I'm trying to set up an Apache server for testing purposes. I am using Debian 9 and have already installed Apache, PHP 7.0, libs and MariaDB.

Through the browser using the link loads the index.html that is inside / var / www / html / usually but if I create a new directory inside, for example, / var / www / html / test / and put any file, I can not access through the browser.

Any tips on how to solve? Missing some permission? When I created the directory I already ran a chmod 777 in it.

Thank you in advance.

The following message appears in the browser:

This page is not working 192.168.0.101 is unable to meet this request at this time. HTTP ERROR 500

In /var/log/apache2/error.log the following message appears:

[Wed Jan 10 09: 21: 42.054246 2018] [: error] [pid 480] [client 192.168.0.9:55441] PHP Fatal error: Unknown: Failed opening required '/ var / www / html / gra / index .php '(include_path ='.: / usr / share / php ') in Unknown on line 0

    
asked by anonymous 10.01.2018 / 03:03

0 answers