我无法将任何图像上传到媒体"部分. 我收到此错误消息:
I am not able to upload any images to the Media section. I get this error message:
无法创建目录wp-content/uploads/2015/05.是其父目录 服务器可写的目录?"
"Unable to create directory wp-content/uploads/2015/05. Is its parent directory writable by the server?"
我尝试更改权限,为两个上载和wp-content目录授予完全访问权限777,但这无济于事.
I tried changing the permissions, gave full access 777 to both uploads, and wp-content directory but this didn't help.
我尝试将所有者更改为apache:/wordpress/wp-content的apache,但这也无济于事.
I tried changing the owners to apache : apache for /wordpress/wp-content, but that hasn't helped either.
upload_path在option-media.php中设置为wp-content/uploads.仍然无法正常工作.
upload_path is set to wp-content/uploads in option-media.php. Still it is not working.
尝试定义上传路径define(UPLOADS, 'wp-content/uploads');没有帮助.
Tried defining upload path define(UPLOADS, 'wp-content/uploads');No Help.
(服务器:centos)
(server: centos)
有人,请帮忙!
-预先感谢.
推荐答案Debian喜欢:
chown -R www-data:www-data /var/www/{yourpath}/wp-content/uploads更多推荐
无法在Wordpress的wp
发布评论