PHP : Version

 For Homebrew user can run 

brew install shivammathur/php/php@8.2


Open terminal 

$ vim ~/.zshrc


When the file open, press I on keyboard to insert, and then put the new path.

After that, to save it press Esc and :WQ .


On the file, also can change the php version.

After it exit the file run this command to refresh the file (To make sure it save).

$ source ~/.zshrc


Comments

Popular posts from this blog

Create Slack application

Tips testing local untuk programmer 📌

Get list of controller in Codeigniter