Did you compile your own PHP module or did you just try and use a pre-compiled one?
Sounds like the php module cannot find something when it is loading. You might want to try and compile it yourself.
I am not a BSD dude, but I do run Apache with PHP on a Linux server.