-- Avc: denied [ write ] for pid=6890 com="php" name="temp" dev=dm-0 ino=442565 scontext=user_u:system_r:httpd_t tcontext=user_u:object_r:root_t tclass=dir
This error is related to SeLinux
Thanks DM, have disabled SeLinux and all is OK. I assume for a non live testing server, disabling SeLinux would be OK?