Ryan Phillippe: I'll 'Gladly' Take a DNA Test

3/15/2011 9:00 AM PDT

Ryan Phillippe: I'll 'Gladly' Take a DNA Test

Ryan Phillippe will "gladly" take a DNA test to determine if he's the baby daddy of a woman he had been seeing ... this according to sources directly connected to Ryan.

We're told Ryan will not submit to the DNA test until the baby is born.  There are prenatal paternity tests, but there's a slight risk of miscarriage and Ryan does not want to take the chance.

Our sources say Ryan will step up and provide support for Alexis Knapp's unborn baby, provided it is indeed his.

Although there are reports Ryan and Alexis were boyfriend/girlfriend, we're told that was never the case. They had dated for a while but it was never serious.

The baby is due in June.