set dumb terminal when running PHP to prevent errors when run via cron