You built php5 for Apple's Apache, and are now trying to use it with MacPorts Apache. Yes, that will not work. Built php5 for the version of Apache you want to use it with.It's great that we know what the problem is, and I am more than happy to perform whatever incantation is necessary to rebuild php5 against MacPorts' Apache, but I'm not sure what that is. I guess I'll go poke around in MacPorts' directories and see if I can figure something out.