I have a simple script that outputs Permission denied
warning in the browser:
rename('/opt/web/test.tmp', '/opt/web/test.tmp1')
Script path is /opt/web/test_rename.php
/opt/
, /opt/web/
and /opt/web/test_rename.php
are 777 and have apache
owner / group.
httpd
process owner is apache
test.tmp
is 777 and have apache
owner as well
It works fine with cli.
What else could I do to make it work via apache?