Joomla tmp文件夹不可写?还是open_basedir麻烦?

问题描述 投票:4回答:3

我正在这个joomla网站上工作,无法上传任何扩展程序。如果我使用正常的上传方法,我会得到JFolder::create: Could not create directory Unable to create destination如果我使用从目录上传,我会得到Copy failed JInstaller: :Install: Failed to copy file我尝试了在joomla支持论坛中找到的许多解决方案,但没有一个对我有用。无奈之下,我什至将tmp发射更改为777,现在目录权限(我知道它不好)列表显示tmp可写,但在扩展管理器->警告中显示警告The PHP temporary directory is not writeable by the Joomla! instance, which may cause issues when attempting to upload extensions to Joomla!. If you are having issues uploading extensions, check the '/tmp' and set it to be writeable and see if this fixes the issue.->

我想知道open_basedir是否存在缺陷。在我的PHP信息文件中/srv/www/vhosts/domain/httpdocs/:/tmp/-no value我怎么知道open_basedir有缺陷?我该如何解决此扩展问题?

我正在这个joomla网站上工作,无法上传任何扩展程序。如果我使用正常的上传方法,我会得到JFolder :: create:无法创建目录如果我使用上传,则无法创建目标...

php joomla file-permissions joomla2.5 open-basedir
3个回答
5
投票

问题可能是因为未在php中设置upload_tmp_dir。


1
投票
  1. 将权限设置为777


1
投票

在Joomla后端中,转到:

© www.soinside.com 2019 - 2024. All rights reserved.