ssl has nothing to do with php. you can get precompiled latest versions from http://www.modssl.org/contrib/
I got there apache 1322 with openssl and modssl module and 1323 with a newer version of modssl. ssl works fine, after I created a certificate in a dos box under windows 98. There are many sites, which explain how to do that. as far as the directives for httpd.conf are concerned, put this inside (change paths and ports and switch off re-writing if not necessary):
Listen 81
Listen 443
BindAddress *
LoadModule ssl_module C:/programme/server/apache1323/modules/mod_ssl.so
SSLMutex sem
SSLRandomSeed startup builtin
SSLSessionCache none
SSLLog logs/SSL.log
SSLLogLevel warn
<VirtualHost 127.0.0.1:443>
ServerName localhost
DocumentRoot C:/programme/server/apache1323/ssl
AccessFileName htaccess
DirectoryIndex index.html index.php index.php3 index.htm index.cgi index.pl index.asp
<Directory "C:/programme/server/apache1323/ssl">
Options ExecCGI Indexes FollowSymLinks MultiViews Includes
#
This may also be "None", "All", or any combination of "Indexes",
"Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
Note that "MultiViews" must be named explicitly --- "Options All"
doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
This controls which options the .htaccess files in directories can
override. Can also be "All", or any combination of "Options", "FileInfo",
"AuthConfig", and "Limit"
#
AllowOverride All
#
Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
RewriteEngine On
RewriteRule /(.*) /zope/$1 [l]
SSLEngine On
SSLCertificateFile C:/Programme/Server/Apache1323/conf/ssl/my-server.cert
SSLCertificateKeyFile C:/Programme/Server/Apache1323/conf/ssl/my-server.key
</VirtualHost>