2
I'll assume your server's O/S (operating system) is Linux, since the 755/777-type permissions don't apply to Windows.
755 is more secure, but typically you will need to use 777. It depends on the server. Usually PHP is running as an Apache module, and Apache is running as an anonymous "nobody" user, and the /uploads directory is owned by a different user, so you'll need 777.