1

I have just installed phpfarm and compiled a 5.3.0 just for test purpose. 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".

Note that I have updated my PATH with inst/current-bin and inst/bin from phpfarm directory.

I have attepted to use sudo (like any other newbie) and I got a "sudo: switch-phpfarm: command not found".

What did I do wrong?

Shi
  • 4,178
  • 1
  • 26
  • 31
Michael
  • 4,786
  • 11
  • 45
  • 68

1 Answers1

1

You have to add the bin directory (/path/to/phpfarm/inst/bin) to your $PATH.

cweiske
  • 30,033
  • 14
  • 133
  • 194