By JiteshShah
Hi
I am trying to upload images in wordpress while writing post. Images not getting uploaded in media.
Error message is something like this:
unable to create directory uploads/2017/01. Is its parent directory writable by the server?
How to solve this issue.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Was WordPress deployed by a one-click image or did you manually install your stack (i.e. Apache/NGINX, MySQL/MariaDB, PHP/PHP-FPM, etc)?
The error you’re receiving is due to the fact that the user you’re currently running as does not own the directories/files that it’s trying to write to. For example, if you’re running as www-data but the files and directories are owned by root, you won’t be able to write since www-data is not able to modify files owned by root (or any other user).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.