Except as otherwise provided in this subchapter, all fines, forfeited recognizances and other forfeitures imposed, lost or forfeited and fees and costs collected in the court of common pleas, or community court established for a judicial district embracing a county, or in a magisterial district within the county, or in the Philadelphia Municipal Court, shall be payable to such county.
42 Pa.C.S. § 3572