waldo wrote:
hassamu wrote:
Now it works, I figured it out after a while it was a problem concerning priviliges, so CHMOD solved it.
Is there a way to automatically give the right permissions to all files in /var/www/html/ ??
I have to go to the terminal and type
CHMOD whatever_privilige_number mynewfile.php
everytime i want to add a new file.
chmod to what? Apache should only need read access to your php files. How does your site function if your web server can't read your files?
It could be that the webserver is run by another user that doesnt belong in the group that has permissions for alread-properly chmodded files. It's a mistake I see often when people install a ton of packages and then start modifying webservers, sudo, etc.