Tag Archives: permissions

CentOS 7 + SELinux + PHP + Apache – cannot write/access file no matter what

I’ve spent 2-3 hours pulling my hair trying to setup a supposed to be simple PHP/MySQL web application on an Amazon EC2 instance running on CentOS 7. Apache logs keep saying that it can’t write to file due to permission … Continue reading

Posted in Linux | Tagged , , , , | 63 Comments

Centos and nginx – phpMyAdmin not working

With my default setup of Centos 6.5 64 bit and nginx 1.4.x, I got a strange error when setting up phpMyAdmin. It turns out that it was just a directory permission issue and that the default setup expects user it … Continue reading

Posted in Linux | Tagged , , , | 3 Comments

Quick tip – set permissions recursively for files or directory

Somebody whacks your file permissions by issuing sudo chmod 0777 -R * and all your directories and files are colored green (if you know what I mean). That is a bad thing for file permissions especially for files for your … Continue reading

Posted in Linux | Tagged , , | 1 Comment