Michael
Michael

Reputation: 4876

PhpFarm switch not working

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?

Upvotes: 1

Views: 605

Answers (1)

cweiske
cweiske

Reputation: 31108

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

Upvotes: 1

Related Questions