Mkdir permission denied php nginx
<p>I Tried create dir with php code <code>mkdir($folder, 777, true);</code>, but return <code>mkdir(): Permission denied</code>,  how i can solve this ?</p>

<p>Obs: I using: nginx, php7-fpm and owner folder www is www-data</p>