Apache
44 minutes ago, Vernw3 said:i have been trying for an hour on how to get this to work when i try and open a php file i get
i have tried changing these but it still wont work
Directory />
AllowOverride all
Require all granted
Allow from all
</Directory><Directory /usr/share>
AllowOverride None
Require all granted
</Directory><Directory /var/www/>
AllowOverride all
Require all granted
Allow from all
</Directory>#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride None
# Require all granted
#</Directory>
I would assume this is an issue with your permissions for the actual file. Try using the following command:
sudo chmod 775 /var/www/html/*
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now