This took me a while to find, so I'm saving it somewhere I can find it again.

The easy way to select the PHP version used for web applications is to use the CPanel configuration tool. However, that doesn't work if you're using SSH and need PHP on the command line. Also, on HostGator, you can't create a symlink outside of your directory (such as to the global php).

You can find out what version you have with

$ php --version

If that's not the version you want, try a specific version like this (php55 is 5.5, etc):

$ /opt/php55/bin/php --version

If that works, add an alias to your .bashrc file.

$ nano ~/.bashrc

Add lines like the ones below and then Ctrl-X to close nano (be sure to hit 'y' to save changes when closing)

alias php='/opt/php55/bin/php'
alias composer='/opt/php55/bin/php ~/bin/composer'
export DRUSH_PHP='/opt/php55/bin/php'

Now, re-source the file so the command line gets the new aliases

$ . ~/.bashrc

Just as a sanity check, check the version again

$ php --version
Tags

Installing GBridge on Windows 8, Windows 8.1 and Windows 10

 

Just because I don't want to have to look this up again. Windows 8's driver signing enforcement prevents installing GBridge's network drivers. I posted how to work around that on gbridge.net forums when I was testing the Windows 8 preview, but their forum is offline now.

Windows 8

This method works for Professional or Home versions.

Grape Harvest

 

I finally got a full harvest off of this vine (before birds, etc.) These grapes are pretty sour, if you just pick and eat. And seedy. However, I always thought they might make good jelly or something. So this year, I have lots of grapes to try something.

Basically, the process is:

Raspberry-Vanilla Pudding

We have a picnic on July 4 where we are supposed to bring a dish. An hour before the picnic... what should we bring? We have lots of fresh-picked raspberries and that vanilla pudding I got last week. After a few minutes of Google-searching for things that use those two ingredients (no results, except for baked items and stuff of the wrong kind), I am going to make my own recipe for this.

Five Crunch Mix

 
Five different textures of crunch for a delightful and versatile snack that doesn't leave your taste buds feeling like you drank an ocean of saltwater.
 
Shake together in a container (or snack bag) in the desired proportions....
  • honey nut cheerios
  • pretzels (thin style, broken in pieces)
  • unsalted peanuts
  • Spanish peanuts
  • banana chips
  • raisins
 
I usually go heavy on the cheerios.