作曲家安装:临时文件错误 [英] Composer install: error on temporary file

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

问题描述

我在使用 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:

[SymfonyComponentProcessExceptionRuntimeException]
A temporary file could not be opened to write the process output to, verify that your TEMP environment variable is writable

我的 TEMP 变量是%USERPROFILE%AppDataLocalTemp".文件夹存在且权限良好.

My TEMP variable is "%USERPROFILE%AppDataLocalTemp". 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.

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

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