Tom,
I believe the Chaplain of the 5th Alabama Infantry Regiment was Joseph D. Porter during the summer of 1863.