Sunday, August 2, 2015

laravel apache directory permissions

So, I'm beyond perplexed! I just spun up a new RHEL 7.2 instance on AWS. I successfully installed Apache, MariaDB, & PHP. Then I successfully installed Laravel 5. Everything worked and is working great...except for one ridiculously small hitch that is driving me bonkers!





  • So, my Apache is running as U:G (apache:apache)

  • My new Laravel site has been chown'd all too apache:apache

  • Directory permissions have been set to 777 for the storage directory recursively.



Yet my system continues to throw permission denied fatal errors when trying to write to the storage/logs directory or when trying to run the file_put_contents function to the storage/framework/views directory.



I have opened those directories up wide open with 777 and still it's doing this.




HELP?!



P.S. "This is server related...so, please don't shut down my question for that reason."

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...