WordPress – can not upload files to wordpress on apache server

apache-2.4fedorapermissionsuploadWordpress

I have installed wordpress on localhost with apache server on fedora . when I want to upload files to it I get this error:

Unable to create directory wp-content/uploads/2014/07. Is its parent
directory writable by the server?

My wordpress directories and files are owned by user and group: apache:apache and have permission 755. my wp-content has 777 permission but I does not work.
what is the problem?

Best Answer

Just check the value upload_path in wp_options. It solved my problem right away.