I cannot upload files via php (selinux=enabled;policy=targeted).
php shows this error:
*Warning*: File upload error - unable to create a temporary file in
*Unknown* on line *0
*And in dmesg I found this error:
audit(1100940427.918:0): avc: denied { write } for pid=9202
exe=/usr/sbin/httpd name=tmp dev=hda3 ino=24
scontext=root:system_r:httpd_t tcontext=root:object_r:root_t tclass=dir