phpinfo() should show that.
Keep in mind that you should go through your configure string and cross-check with the php5 config stuff (./configure --help), to make sure it's all still valid. There was a bit of stuff changed from 4->5, especially in regards to extensions, and there's probably some new stuff you'll want to add.