Skip to content
Advertisement

can’t upload file to wordpress

I move my wordpress website to my vps with Cpanel, after move every thing is working well, but my media option can’t upload file to my library, I try to set permission for uploads folder and subfolders to 755,775 even 777 but media uploader get me this error :

The uploaded file could not be moved to wp-content/uploads/2016/10.

I try to solve my problem with set group and owner with terminal linux to my user,

> sudo chown -R username:group directory
> sudo chgrp -R username:group directory

but my problem not solved.

Edited :

I try to install “SuPHP” and my problem solved…

for more information see : https://documentation.cpanel.net/display/EA/Apache+Module%3A+SuPHP

Advertisement

Answer

thanks smoqadam

I try to this :

 chown -R nobody /home/<username>/public_html/wp-content/uploads/

and everything is OK…

Advertisement