Fatal error: Class 'SelectQuery' not found in includes/database/database.inc on line 813
Rolling back this patch... https://www.drupal.org/node/2170453 solved the first problem, and then using htaccess to define the correct php version fixed the next error.