Unable to create a directory in wp-content / uploads in Wordpress
source link: https://www.codesd.com/item/unable-to-create-a-directory-in-wp-content-uploads-in-wordpress.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Unable to create a directory in wp-content / uploads in Wordpress
I am not able to upload any images to the Media section. I get this error message:
"Unable to create directory wp-content/uploads/2015/05. Is its parent directory writable by the server?"
I tried changing the permissions, gave full access 777 to both uploads, and wp-content directory but this didn't help.
I tried changing the owners to apache : apache for /wordpress/wp-content, but that hasn't helped either.
upload_path is set to wp-content/uploads in option-media.php. Still it is not working.
Tried defining upload path define(UPLOADS, 'wp-content/uploads');
No Help.
(server: centos)
Someone, please help!!!
-Thanks in advance.
chown -R www-data:www-data /var/www
Related Articles
Unpacking the package ... Unable to create a directory. Wordpress, Apache2, Ubuntu
RuntimeException: Unable to create cache directory (/ var / www / sonata / app / cache / dev)
Android: runtime-error 'Unable to create a directory', on using the DownloadManager class, setDestinationInExternalPublicDir method
Installing Jenkins - Unable to create personal directory despite its existence and writing ability
Android Studio: & ldquo; Unable to create exit directory for lint & rdquo;
ruby: Unable to create a directory with FileUtil
Unpacking the update & hellip; Unable to create a directory. Wordpress
Unable to create a directory in hdfs NameNode is in safe mode
Zookeeper + Kafka - Unable to create a data directory
Drupal: Unable to create directory 'temporary: // update-extraction /'
Maven-resources-plugin: 2.5 - Unable to create a resource output directory
How to create a directory that contains virtually the contents of 2 other directories
Unable to create directory in external storage although permissions are apparently set correctly
Android unable to create a new directory on external storage
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK