So I have a couple of problems on my server.
WordPress is unable to modify .htaccess, and the same files (exact same files) are running fine on another server.
Me and my friend also tried setting up an imageboard, and downloaded Kusuba X, which was working perfectly until I tried to make a board, and it simply says "Unable to create directory" which I think is done with mkdir();?
So I think there's something wrong with php or apache, don't know which one, but I'd like to fix it.
As I googled a little bit, I found http://stackoverflow.com/questions/4061224/php-mkdir-and-fopen-does-not-work-permissions-problem-umask-problem, ran
ls -splad /home/myname/ and got
4 drwxr-xr-x 12 myname myname 4096 Dec 12 18:56 /home/myname//
So I readed
it would not work because the directory is owned by root (not apache), and even though it's grouped by apache, the directory isn't group-writeable so that doesn't cut it. In this scenario, you could simply add group write perms (chmod g+w /home/myname/), and you're good to go.
But it didn't work, so I continued on the text
Something else you might see is: 4 drw-r-xr-x 2 apache apache 4096 2010-07-22 20:54 /var/www/blah/mydomain.com/htdocs/ In this case, the ownership is ok, but the directory isn't writeable by its owner. You can fix this by adding write permission for the owner chmod u+w /var/www/blah/mydomain.com/htdocs.
But I was unable to fix it. So what should I do?