Thread:Project:Support desk/Cannot upload files (anymore)

I'm running Mediawiki 1.22.2; PHP 5.3.28 (apache2handler); MySQL 5.5.34 on a amazon Linux AMI 2013.09 and I was able to upload until I: 1. moved the images directory (changing $wgUploadPath and $wgUploadDirectory); 2. upgraded to 1.22.2; Now I get a Could not create directory "mwstore://local-backend/local-public/a/a4" whenever I try to upload. Please note that it does not work even if I chmod -R 777 the images directory or move it back inside the wiki folder. I have no open_basedir directive set in php. (And I don't think it can be a problem with php or httpd because in the very same instance - just a few directories away - I also run wordpress (and upload successfully). I even re-installed mediawiki. Now I really don't known what to do... Please help!