Composer安装:临时文件上的错误 [英] Composer install: error on temporary file

查看:183
本文介绍了Composer安装:临时文件上的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 10和Composer(最新版本)中遇到问题. 当我想在我的项目中执行命令"composer install"时,会引发交响乐错误:

I have a problem with windows 10 and composer (last version). When I want to execute command "composer install" in my project, a symphony error is thrown:

[Symfony\Component\Process\Exception\RuntimeException]
A temporary file could not be opened to write the process output to, verify that your TEMP environment variable is writable

我的TEMP变量是%USERPROFILE%\ AppData \ Local \ Temp". 该文件夹存在且权限良好.

My TEMP variable is "%USERPROFILE%\AppData\Local\Temp". The folder exists and permissions are good.

有人可以帮我找到问题吗?

Can anyone help me to find the problem please?

谢谢.

推荐答案

php.ini 文件中查找sys_temp_dir的位置,并检查该文件夹的权限.

Look into php.ini file for location of sys_temp_dir and check rights for this folder.

这篇关于Composer安装:临时文件上的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆