WordPress 更新失败 [英] WordPress update failing
问题描述
我在尝试将 WordPress 更新到最新版本时遇到问题,我收到以下错误:
I'm having a problem when trying to update WordPress to the latest version I get the following error:
下载失败.:文件流的目标目录不存在或不可写.安装失败
我在上传图片时也遇到同样的问题,它失败并给出以下错误
I'm also having the same problem when uploading images, it fails and gives the following error
由于错误而未能上传上传的文件无法移动到网站路径然后上传目录"
我检查了文件夹的权限,文件夹本身设置为 755 &其中的文件设置为 644.
I have checked the permissions of the folders and the folders themselves are set to 755 & the files inside them set to 644.
谁能告诉我为什么要这样做?
Could anyone tell me why it would be doing this?
在何处运行 plesk 服务器.
Where running a plesk server.
谢谢,
标记
推荐答案
您使用的权限似乎合理,但只有当 WordPress 使用的 FTP 用户(在您的 wp_config.php 文件中设置)是与这些文件/文件夹的所有者相同.
The permissions you're using seem reasonable, but they will only work if the FTP user that WordPress is using (set in your wp_config.php file) is the same as the owner of those files/folders.
这篇关于WordPress 更新失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!