How do I change the NGINX user?
- by danielfaraday
I have a PHP script that creates a directory and outputs an image to the directory. This was working just fine under Apache but we recently decided to switch to NGINX to make more use of our limited RAM. I'm using the PHP mkdir() command to create the directory:
mkdir(dirname($path['image']['server']), 0755, true);
After the switch to NGINX, I'm…