PHP-FPM Permission Denied Centos 7?

0
100
Asked By Keven Krok On

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

Answered By Keven Krok On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.