The Philadelphia Phillies have signed manager Pete Mackanin to a two-year contract through 2017.

Mackanin's deal includes a club option for 2018. The 64-year-old had signed a one-year contract in September after replacing Ryne Sandberg, who abruptly resigned in June.

He led the Phillies to a 37-51 record.