Re: install default or latest version of php with pkg
Andriy Gapon <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
On 14/10/2025 20:47, Moin Rahman wrote: > > >> On Oct 14, 2025, at 19:45, Andriy Gapon <[email protected]> wrote: >> >> On 14/10/2025 20:41, Miroslav Lachman wrote: >>> If you are writing some playbook or scripted setup, you can query available versions by pkg search, for example: >>> # pkg search -x '^php8[0-9]-[0-9]' >>> Sort the results, tail -n1 and you have the latest available version. Then you can say which PHP extensions to install. >> >> I guess that this is the simplest and easiest solution at the moment. >> Thank you! >> > Be aware that the latest php85 is not yet a stable release. :/ I'll go with the line before the last then :-) -- Andriy Gapon