Reputation: 196
I'm trying to update my php to the current version on my MacOS Sierra.
When I type in vi ~/.bash-profile, all I get is a series of "~". How exactly do I update the PATH?
sudo vi /usr/local/php5/php.d/99-liip-developer.ini gives me a ton of text, and when I try to run the next command (sudo cat /Library/Server/Web/Config/php/local.ini >> /usr/local/php5/php.d/99-liip-developer.ini) I get permission denied. How do I go about this?
Upvotes: 0
Views: 159
Reputation: 91744
To answer your questions:
vi
editor, you probably want to use another text editor. On OS X for example (this should open TextEdit normally...):$ open ~/.bash_profile
$ open -a TextEdit ~/.bash_profile
Upvotes: 1