Enabling OpenSSL with Windows Binaries

php.internals

Adam Maccabee Trachtenberg

22 years ago
Right now, if you're using the pre-built Windows binaries, you can use cURL to make an SSL request, but you can't use an https stream. I'm guessing from this that OpenSSL is already on the box that creates the binaries, and we just need to modify the build script to enable it. If somebody had the free time to do this, I think it would be a good thing to do. :) Thanks. -adam
-- adam@trachtenberg.com author of o'reilly's php cookbook avoid the holiday rush, buy your copy today!

Olivier Hill

22 years ago
Adam Maccabee Trachtenberg wrote:
> Right now, if you're using the pre-built Windows binaries, you can use > cURL to make an SSL request, but you can't use an https stream. > > I'm guessing from this that OpenSSL is already on the box that creates > the binaries, and we just need to modify the build script to enable > it. If somebody had the free time to do this, I think it would be a > good thing to do. :)
I have exactly the same problem. Even if OpenSSL is enabled and the 2 DLLs are copied to the system32 dir. Is it a simple matter, or is it because OpenSSL isn't compiled statically? Or is this rule only apply to built-in https support? Olivier
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Adam Maccabee Trachtenberg

22 years ago
On Wed, 9 Jun 2004, Adam Maccabee Trachtenberg wrote:
> Right now, if you're using the pre-built Windows binaries, you can use > cURL to make an SSL request, but you can't use an https stream.
Um. Nevermind. I am an idiot. -adam
-- adam@trachtenberg.com author of o'reilly's php cookbook avoid the holiday rush, buy your copy today!

Wez Furlong

22 years ago
The problem is linkage; for some reason, someone (in group@ ?) decided that they didn't want to link the php core to openssl in the windows builds, and in php 4.3 you can't use ssl:// or https:// unless it is statically linked. PHP 5 can handle this dynamically. Search the bug db; this has been reported multiple times, is documented in the manual (IIRC) and won't be fixed in 4.3 --Wez.

Dietrich Ayala

22 years ago
it's in the comments of the manual, but not in the actual manual text. *why* won't it be fixed in 4.3? Wez Furlong wrote: