Advertisement
ronikuchan

Setting to Change version of PHP

Mar 15th, 2020
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. Penting jika menganti PHP khususnya di mac, baca kode ini untuk mengganti version php
  2. I've tried this
  3. export PATH=/usr/local/php5/bin:$PATH
  4. and it works, PHP -v is showing me the correct version, see https://php-osx.liip.ch/#faq
  5. !!! Note that you need to add export PATH=/usr/local/php5/bin:$PATH to your ~/.bash_profile file in order to have this change permanent, otherwise it will go away on first reboot and you'll have to run this command every time you reboot.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement