Guest User

Untitled

a guest
May 25th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Stop existing php services
  4. sudo brew services stop php56
  5.  
  6. # unlink php version that you do not want to use
  7. brew unlink php56
  8.  
  9. # link php version you want to use
  10. brew link php71 --force
  11.  
  12. # start php service
  13. sudo brew services start php71
  14.  
  15. # Run valet install to link new php version
  16. valet install
Add Comment
Please, Sign In to add comment