我是系统管理员,当我想办法进行调试以了解为什么您在尝试更新其插件时会收到我的一个用户的错误消息时,我感到非常困惑。
服务器Apache 2.4PHP 5.5.32PHP在模式SUPPP(webserer运行PHP how user process)下Wordpress 4.4.2目录(都在Wordpress上,是可写的por用户,具有755个权限)/ul>.htaccess
所容纳之物
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
当尝试升级任何插件时。
An error occurred while updating ShareThis: Download failed. Destination directory for file streaming does not exist or is not writable.
Weel,当我点击更新时
tail -f /usr/local/apache/logs/error_log /path/wp/error_log /path/wp/wp-admin
显示任何错误。
阅读一些帖子后,请尝试:
添加到wp配置。php
define( \'UPLOADS\', \'wp-content/\'.\'uploads\' );
define( \'WP_TEMP_DIR\', ABSPATH . \'wp-content/\'.\'tmp\') ;
当然,创建并验证所有者(&V);wp内容/tmp的权限;wp内容/上传
ls -lisa wp-content/
total 44
20188651 4 drwxr-xr-x. 10 alibera alibera 4096 Mar 4 21:38 ./
20186847 4 drwxr-xr-x. 5 alibera alibera 4096 Mar 5 10:09 ../
20242433 4 drwxr-xr-x. 3 alibera alibera 4096 Mar 4 21:31 files/
20188684 4 -rw-r--r--. 1 alibera alibera 28 Jan 8 2012 index.php
20188652 4 drwxr-xr-x. 4 alibera alibera 4096 Jan 16 19:16 languages/
20188685 4 drwxr-xr-x. 10 alibera alibera 4096 Mar 4 17:50 plugins/
20189710 4 drwxr-xr-x. 7 alibera alibera 4096 Jan 16 19:16 themes/
20242436 4 drwxr-xr-x. 2 alibera alibera 4096 Mar 4 21:38 tmp/
20188683 4 drwxr-xr-x. 2 alibera alibera 4096 Feb 18 17:24 upgrade/
20189566 4 drwxr-xr-x. 9 alibera alibera 4096 Feb 18 17:24 uploads
如果mod\\u sec在域上被激活,请验证mod\\u sec日志以进行测试,结果表明它不是此域的mod\\u安全性。日志mod\\u security中的任何错误
我很绝望,最让我困扰的是无法看到调试有效,无法分析原因