Sample Header Ad - 728x90

MacPorts set PHP82 as php

0 votes
1 answer
682 views
I am having a problem with correctly installing PHP using MacPorts. I installed PHP8.2 using sudo port install php. But I can't run PHP with php. I have to specify the exact version php82. I didn't see a command for setting this, like with python. sudo port select --set python3 python311 sudo port select --set python python311 I there a port command similar for PHP?
Asked by kresdjan (3 rep)
Dec 15, 2022, 09:39 PM
Last activity: Dec 15, 2022, 10:52 PM