Re: install default or latest version of php with pkg
Moin Rahman <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
> On Oct 14, 2025, at 18:36, Andriy Gapon <[email protected]> wrote: > > > I am writing a recipe to configure a system for a particular purpose. > I need to install some version of PHP, doesn't matter much which, but it should be a recent one. E.g., the latest available in ports or the default version. > I do not want to hardcode any version / prefix like, say, "php83" (because it may be obsolete or unavailable in a few years). > > How could this be achieved with pkg? > > -- > Andriy Gapon > > I do not know what actually you are trying to do or if I have understood you correctly. But let's say if I need dokuwiki and I do not want to add specific version I just do `pkg install www/dokuwiki` which will find out the required php version suffix and install all the php requirements. But if you need are using this for a custom application which is not in the tree and you need to install specific php versions for those then I believe you are out of options. Kind regards, Moin
signature.asc
(application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmjufjtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJG6kA/9HzNSuL67Uff79PMznY0eM9glumhYhbQR/9fr8gT0FjtYqJwFBAnbrEx/ SG4fo+RluQjQlcW2y3OQGbhZoZUKiQJYHnVBF/RKbBPNOUoq6fL0kz7XROu38O4t 8p0qR6Ni74m2+SL60FB/exi6+jm8jKHmnnn/enQQjTPjcUXdw9D9SZFT61QEJ8Ke K9cCe/BpHDRGgJMo2YlHxB5vgG7fcIFaPr4b1wf1TXUEVkN/NLkUa5DsoBu/rx7p I2txLBZ5HeNRtaZGmkRsSyNl09LRVVv4Usf343hHik7TOvooGql3Od1OsVGsXlG6 rYPYahGi3ifpIJ7GLBU+oCX7TnP3uYOU29dtS6WqyB5q0Gi4Y8ioq6zDPlvUWP/F mcmdNtSBoaKNF53mgqDjXva9HIYUs8kMfOzp3mY007VCjtkRChFCeIKrfxe46SeY G2QIgVoWwSd3s4pgh+jv1toYHUpR3peHGA6eL4CMVOLLVGkbUlHoPNMXn0kaTeDM eUPf2ND1acVePDkhti9Q5HhDuOFw3KpydKObEK4JIWCp2lwiK4mBPY2ZzY89vIVx ryUm3tPdQRlp855ZVK/FQsIt5u+bp9AH/hRxwe0V3UNZCnf7zKszb6zq9MecznxD OzC+AVsyO7qEOsTHc/RXH2h4bv931TMKtTBzZwhGIQl0hzWo+DA= =X2Db -----END PGP SIGNATURE-----