I guess this is just a permissions problem on AWS but I'm not very proficient at linux commands.
I've moved a site from another server to AWS and after a while, everything run perfect except for the PHP file uploads.
I have an User area where users can upload pictures to their profiles and perform some activities, that was working fine in the previous server.
But in AWS it doesn't save the uploaded file. My code return success on every validation I added to the file upload but the file doesn't get saved at the server.
I'm pretty sure it's a permissions issue, I've tried with the command
chown ec2-user /var/www/html
and also tried granting permission to root, but none of those have worked.
FTP works fine, just the uploads from the user's area are the ones that don't work.
could any of you help me to find a solution?
Thanks!