Make a 1x2 fence foundation rectangle with one fence foundation in the middle, put in doorframes 2 high all around except for one of the single fence foundation sides, then put 2 ceilings on top. Eat a few rare flowers to aggro it and run through th trap, place down two doorframes in the middle fence foundation and you'll have a trapped phoenix.

More Phoenix Taming & KO Tips