-
Notifications
You must be signed in to change notification settings - Fork 51
Troubleshooting
Wil Moore III edited this page Aug 26, 2013
·
8 revisions
How should I configure $PHP_VERSIONS if my PHP versions are stored multiple directories (i.e. Homebrew)?
-
Set
$PHP_VERSIONSas a space-delimited, quoted list of directories as depicted below:export PHP_VERSIONS="/usr/local/Cellar/php53 /usr/local/Cellar/php54"
Sorry, but php-version requires that $PHP_VERSIONS is set and points to an existing directory.'.
- The version was entered incorrectly (i.e. "php-version 5.3.i" instead of "php-version 5.4.3").
Sorry, but php-version was unable to find directory '5.4.3' under ...
- You have not installed the requested version of PHP.
*Sorry, but php-version requires that the environment variable $PHP_VERSIONS is set in order to initialize bash completion.
*
- The
$PHP_VERSIONSenvironment variable has not been configured or is configured incorrectly.