简体   繁体   English

PhpFarm开关不起作用

[英]PhpFarm switch not working

I have just installed phpfarm and compiled a 5.3.0 just for test purpose. 我刚刚安装了phpfarm并为了测试目的而编译了5.3.0。 All good so far. 到目前为止一切都很好。

When trying to perform switch-phpfarm 5.3.0 I get " ln: failed to create symbolic link `/opt/phpfarm/inst/current-bin': Permission denied ". 尝试执行switch-phpfarm 5.3.0ln:无法创建符号链接`/ opt / phpfarm / inst / current-bin':权限被拒绝 ”。

Note that I have updated my PATH with inst/current-bin and inst/bin from phpfarm directory. 请注意,我已使用phpfarm目录中的inst / current-bin和inst / bin更新了我的PATH。

I have attepted to use sudo (like any other newbie) and I got a "sudo: switch-phpfarm: command not found". 我曾经尝试过使用sudo(像其他任何新手一样),但是却收到了“ sudo:switch-phpfarm:找不到命令”。

What did I do wrong? 我做错了什么?

您必须将bin目录( /path/to/phpfarm/inst/bin )添加到$PATH

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM