PHP image upload gives 403 error

Hi guys!
Recently I bought and installed LiteSpeed (VPS edition) instead of Apache for my php website, and here is the issue I ran into recently.
When I try to upload an image with a php script, I get a 403 error.