zlacker

[return to "PHP 8.2"]
1. revski+X9[view] [source] 2022-12-08 13:36:22
>>TimWol+(OP)
What's the standard way to install php, by using `brew install php` ? Is there a version manager for php itself to have multiple versions of php in the system ?
◧◩
2. sbarre+mb[view] [source] 2022-12-08 13:43:24
>>revski+X9
Since PHP is typically invoked as a web server module or SAPI, you can install as many versions as you want and which one you use comes down to the version you've configured in your web server.

You _can_ use PHP from the command line but it's not the same kind of thing as Python or other languages where you need to be mindful of which version some shell script might assume is installed, etc..

[go to top]