Click to See Complete Forum and Search --> : Compile PHP for Windows. '--with-openssl' ?


Kold
05-28-2005, 02:37 PM
Hi.

I have enabled the openssl extension, and installed openssl itself, however i have been told that before i can get https as a registered stream, PHP will need to be recompiled --with-openssl

I have read this; http://www.php.net/manual/en/install.windows.building.php

However, at what stage, and how do i add '--with-openssl[=DIR]' and should something be put in place of =DIR?

Thanks for any info!
K.

abc
05-30-2005, 12:52 PM
Hi

Who told you the stream is not registered using just the extensions! Because they are. Maybe I am not understand exactly what your asking but I think I am. Also, I am pretty sure if you get the PECL and the SSL related extensions (PHP 4 or PHP 5)from 'kromann' site, they are setup that way. I use to have a site that had weekly builds with this and many other UNIX functions embed (pcntl_fork...) in PHP for Windows. But I don't have much time now having to devote so much time to maintaining many of the windows PHP extensions these days!

kromann site...

http://kromann.info/php.php


abc

Kold
05-30-2005, 05:25 PM
Originally posted by abc
Hi

Who told you the stream is not registered using just the extensions!
I registered all listed extensions in the config, and the streams didnt get registered.

I asked in an IRC channel and someone there was pretty confident that I had to enable ssl_mod in apache. The problems came when ssl_mod only came as source code, and an old compiled version I found refused to play nicely. I later found the webserver was running IIS anyway :mad:

In the end i decided to cut my (4 day) losses and use cURL instead of HTTPS.

If someone knows how to easily enable it on IIS or Apache I would still be very gratefull, it isnt urgent any more, but i would still like to know!

Thanks.