That's weird that your Apache SSL settings would have any bearing on PHP and egress connections. Glad it works though, thanks for the update! Best guess is that maybe you were missing OpenSSL, and setting up Apache correctly got you the necessary libraries.