Install and use several versions without "relinking" #1768
Replies: 1 comment
-
You can use different PHP versions in macOS as well without linking, but you will have to update your paths each month when a new php semver version is released. both apt packages on Ubuntu, and brew packages on macOS have linking.
So, packages on both OS have linking, ubuntu replaces the binaries when there is a new semver version, so it does not have it in the path of the binaries. brew keeps the old semver version and installs the new semver version in the cellar. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm absolutely newbie in macos)
On Linux Ubuntu I used to ondrej ppa with several versions of Php. After install you can use any version without linking process. For example when I want use 8.2 - i type in console
php8.2
, andphp7.4
for 7.4)I install several versions, but can't found it binaries for make symlink into bin dir. I think that /opt/homebrew/bin/php is just symlink, but it is binary.
Maybe it's good idea to provide access to all installed versions simultaneously without relinking?
Beta Was this translation helpful? Give feedback.
All reactions