phpenv

phpenv

TLDR

Install a PHP version globally

$ phpenv install [version]
copy

Refresh shim files for all PHP binaries known to phpenv

$ phpenv rehash
copy

List all installed PHP versions

$ phpenv versions
copy

Display the currently active PHP version

$ phpenv version
copy

Set the global PHP version

$ phpenv global [version]
copy

Set the local PHP version, which overrides the global version

$ phpenv local [version]
copy

Unset the local PHP version

$ phpenv local --unset
copy

Copied to clipboard
Dodo Farming