|
Posted by Richard Levasseur on 08/11/06 10:09
Anonymous wrote:
> Chuck Anderson wrote:
> > Does anyone understand what the difference is between between a version
> > of Php that has https and ftps as registered streams and one that does
> > not? Is it done during compilation? If so,how can I get a binary that
> > was compiled that way?
>
> From http://www.zend.com/manual/wrappers.http.php
>
> "Note: HTTPS is supported starting from PHP 4.3.0, if you have compiled
> in support for OpenSSL."
>
>
> So it's obviously done at compilation time. I believe you have to
> compile PHP yourself, there is no other official binary distribution
> that I am aware of.
>
> Because of laws restricting the use or export of cryptography products
> in some countries a lot of people hesitate to make binary versions that
> allow encrypted transfer available.
>
> Bye!
IIRC: If apache is doing the ssl encryption, PHP doesn't need the
openssl library to operate over ssl connections. An exception to this
would be if you were opening an SSL connection in PHP, you probably
need it then.
For apache:
http://tud.at/programm/apache-ssl-win32-howto.php3
For PHP, it may be more complicated, especially since you're using
windows; it makes it more difficult to compile things it. You'll most
likely have to put some dll's or load some extensions. This may help:
http://us2.php.net/en/openssl
[Back to original message]
|