We have our own dedicated servers, so I don't believe that cron is run on another server. However...I just had a big breakthrough...
I added this to the script and captured the output
shell_exec('which php');
When I ran the script through the command line, it returned: /usr/local/bin/php
When I ran the script through cron, it returned: /usr/bin/php
I tried adding #!/usr/local/bin/php to the top of my script so that it would grab the right php, but it did not work.
Is there another way to make it use the right version?