dont drill up through the wood into the pvc, because pvc cracks very easily and it is not if it is going to crack, but when.
if you drill up, when the pvc cracks your bases will hit the screws and it will ruin them
the best way is to drill a hole just large enough to fit the screw in, cock it to the side a little bit, and screw down into the wood through the pvc