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: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! -- Andriy Gapon