Wordpress. After give permission to /uploads folder, i can't access to options-general.php
First thanks for your time and sorry for my bad English.
A few days ago, i installed a wordpress site, and when i was making pages and editing my theme, in a moment i try to go to Settings / General (../wp-admin/options-general.php) and it didn't work, i was searching for the problem and i dont know to solve it... Now today i install a new wordpress in other folder, and advance in installation and first configuration step by step, and when i try to upload a photo... it gives me this error: ...Unable to create directory wp-content/uploads/2015/02... (before trying upload photo, i can acces to Settings / General) Searching for the web i solve this giving permission to uploads folder with this command: chmod -R 777 /var/www/html/mysite/wp-content/uploads and now i can upload my photo but after this... i cant access to Settings / General, same error than my other wordpress site.
Before i execute the chmod command i can go to options-general.php, and after it, i can't...
Does anybody knows what happend and what is my fail?
Thanks for all and for your time.