我正在尝试用WordPress上传图片,但出现此错误:
I am trying to upload pictures in WordPress but I get this error:
上传的文件无法移至wp-content/uploads.
The uploaded file could not be moved to wp-content/uploads.
我正在localhost中运行它,但是找到的答案是将服务器上的文件夹权限更改为777.
I am running it in localhost but the answers I have found are to change the folder permissions to 777 on the server.
我尝试自己制作一个上载文件夹,但这没有用,除了读取和写入外,没有其他选项可以将文件夹权限更改为其他任何内容.
I tried making an uploads folder myself, but it's of no use and there is no option to change the folder permissions to anything except read and write.
我在Mac OS X上使用XAMPP;我是WordPress的新手-如何解决此问题?
I'm using XAMPP on Mac OS X; I'm new to WordPress - how can I fix this?
推荐答案假设您的wordpress目录由正确的用户拥有",并且如果将权限设置为755,您应该会看到问题已解决.
Provided that your wordpress directory is "owned" by the correct user, you should see your problem resolved if you set the permissions to 755.
登录到服务器,然后cd到wp-content,然后运行:
Log on to your server, and cd to wp-content, then run:
chmod 755 uploads更多推荐
无法将上传的文件移至wp
发布评论