>root@greg-laptop[~] /opt/phpswitch
bash: /opt/phpswitch: No such file or directory
>root@greg-laptop[~] PHPSWITCH_PATH=/opt/phpswitch php phpswitch-installer
> phpswitch installer
>> Checking requirements...
>>> Actual PHP version is 5.4.16-1kc0~quantal0
>>> cURL extension is enabled
>>> PCNTL extension is enabled
>>> You don't have required permissions on /opt/phpswitch
As you can see, I do not have a /opt/phpswitch directory.
But If I create one, the installer will install phpswitch in /opt/phpswitch/phpswitch
So I have to run: PHPSWITCH_PATH=/opt php phpswitch-installer which is a little bit awkward
As you can see, I do not have a
/opt/phpswitch
directory. But If I create one, the installer will install phpswitch in/opt/phpswitch/phpswitch
So I have to run:
PHPSWITCH_PATH=/opt php phpswitch-installer
which is a little bit awkward