I think this has something to do with ownership of the folders, but I have a php app that I am trying to get setup and I cannot install it because it tells me the permissions are not correct.
I set the permissions by doing
chmod 2775 /var/www/htdocs -R
Then I did
chown developer:www-data /var/www/htdocs -R
ls -la /var/www/htdocs I get
-rw-r--r-- 1 developer www-data 1079 Apr 3 14:42 .htaccess drwxr-sr-x 14 developer www-data 4096 Apr 3 14:42 images -rw-r--r-- 1 developer www-data 44512 Apr 3 14:42 index.php
but I still get that the files and folders are not writeable from the php install file. Can anyone point me in the right direction?