You just need to change the the owner or group of your upload directory.
First of all you will need apache user.
ps aux | egrep '(apache|httpd)'
www-data, apache, nobody would be one the user.
For Dedicated Server
chown -R www-data:www-data uploadDirectory
For VPS Server
chown -R FTPSSHuser:apache uploadDirectory
whereas FTPSSHuser is your FTP | SSH user.