Also, media temple only allows php 5 commands to be executed in 2 ways,
* via command line using the binary /usr/bin/php5
* via apache .htaccess with AddHandler
Is it possible that the code is running a shell command that isn’t using the correct binary? This is a shot in the dark, but, I am curious to solve this problem as well.