I was following a tutorial on updating my Mac to PHP 5.4. Things were going well until I had to step away. Now I don't remember where I left off and couldn't find the same tutorial any more. I did get as far as creating the my_phpinfo.php file, but when I brought it up, it showed 5.3.
I end up digging and digging, then turning to Homebrew. I installed Homebrew and had the standard
Consider amending your PATH so that /usr/local/bin is ahead of /usr/bin in your PATH
I followed this and it didn't work. I found the wiki for Homebrew uninstall and think I'm in worse shape. After trying to reinstall, I get
-bash: curl: command not found
-bash: ruby: command not found
I decided to try to restart Apache
-bash: sudo: command not found
Now I'm stuck. Can anyone help?