I have just setup php-fpm to replace mod php with Apache on Centos 7. When i try to run the code, I am getting a permission denied error. What am I doing wrong?
1 Answer
I figured it out, I needed to set Apache as the user since this owned all of the web directories that PHP was trying to write data to. I suppose other changes could also have been made to the directories to give the php-fpm user the ability to write to these directories. I didn't want to take the risk though.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures