macboock Air mac system phpstudy installation php8 operation

Now the PHP version of phpstudy for Mac can only reach 7.3, and some websites require version 8.0 or above, so you need to install it manually.
Insert image description here
Effect after installation
Insert image description here
Operation 1:
Install version php8.2

brew install [email protected]

Insert image description here
Completed address
/usr/local/Cellar/php/8.2.8
Insert image description here

Go to /usr/local/Cellar/php/, copy the entire folder,
Insert image description here
open phpstudy, enter the php folder and paste it, and then select the installed version on the website
Insert image description here
Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_42021688/article/details/131807366