Tag Archives: ec2


For the past few days, I’m trying to replicate a setup in AWS where the database server access is secured in a private subnet while the web server is located in a public subnet. The documentation is pretty straightforward for … Continue reading

Posted in AWS | Tagged , , | Leave a comment

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