There are several things you must know:
- Having HTTPS enabled in the web server has absolutely nothing to do with having ssl support in PHP
- SSL support in PHP usually means that you can use it to make HTTPS or SSL socket connections using fopen() or fsockopen() (Or perhaps curl, but that's really deprecated). You shouldn't normally need to touch the ssl_*
The way to open a ssl socket is to use fsockopen with an appropriate stream prefix. But you won't normally need to do this, as you can use the HTTPS fopen wrapper for a HTTPS client.
Mark