gui*_*ass 4 php joomla file-permissions open-basedir joomla2.5
我正在使用这个joomla网站,我无法上传任何扩展程序.如果我使用正常的上传方法我得到JFolder::create: Could not create directory
Unable to create destination
如果我使用从目录上传我得到Copy failed
JInstaller: :Install: Failed to copy file
我尝试了很多解决方案在joomla支持论坛发现但没有一个对我有用.绝望中我甚至将tmp ermissions更改为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有缺陷?我该如何解决这个扩展问题呢?
问题可能是因为在php中没有设置upload_tmp_dir.
查看SITE > SYSTEM INFORMATION > PHP INFORMATION并检查是否upload_tmp_dir已设置.如果没有,您需要编辑php.ini
在我们的服务器上(使用开放式基础目录),设置为:
upload_tmp_dir=/tmp
根据您的服务器配置,此值可能会有所不同.
| 归档时间: |
|
| 查看次数: |
16130 次 |
| 最近记录: |