I haven't had this problem, but a quick google search led me to this:Hi, I've been racking my brain on this for quite a while now. Any help at all is much appreciated (I might start going bald early at this rate of frustration!) When I compile php, ./configure (with options) runs w/o error, but when I make I get the following:
main/network.lo: In function `php_stream_sock_ssl_activate_with_method': /root/install/php-4.3.6/main/network.c:750: undefined reference to `php_SSL_new_from_context' /root/install/php-4.3.6/main/network.c:784: undefined reference to `php_openssl_apply_verification_policy' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1
Bug #24894 Compile failure when building openssl support shared http://bugs.php.net/bug.php?id=24894&edit=1
It looks like it's fixed in PHP 5. Hope this helps.
Matt M.