Hi,

On Thu, Sep 17, 2009 at 3:20 PM, George Njoroge <themburu@gmail.com> wrote:
Go with Chris option. You see if u look at its operation mode it is not you uploading but apache hence it has to have the right permissions.

Likely answer... selinux   - Check your selinux logs to confirm
Solutions in order (best-worst)
 - label your upload directory correctly - ls -Z and chcon
 - Disable selinux temporarily - getenforce and setenforce
 - Disable selinux permanently - edit grub.conf/menu.lst to add appropriate switch



On Thu, Sep 17, 2009 at 1:53 PM, Chris Mwirigi <mwirigic@gmail.com> wrote:
chown apache.apache /var/www/upload
chmod -R 755 /var/www/upload


Good for testing, bad for production environments. If you do this, remember to chown/chmod back.
Regards,
Laban