|
Posted by Anonymous on 08/11/06 14:32
Richard Levasseur wrote:
> IIRC: If apache is doing the ssl encryption, PHP doesn't need the
> openssl library to operate over ssl connections. An exception to this
I know, I'm doing this almost every day. :-)
> would be if you were opening an SSL connection in PHP, you probably
> need it then.
That's exactly what he is trying to do. See here:
>> I have application scripts that need to use ftps and https (to read
>> access log files from the Cpanel over a secure link on my remote shared
>> host).
> 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
Now that you mention it...
The user comments on that page suggest that OpenSSL support is already
compiled into the PHP4 binary distribution. You just have to define an
environment variable to point to the config file and copy an important
OpenSSL dll to the system32 directory. It doesn't say anything about
PHP5 though.
I have never cared about OpenSSL support for PHP because I never needed
it. I only needed it in Apache. And I also still use PHP4, so not
everything I know might be applicable to PHP5.
@Chuck: You should really give this page a look, it might help you set
things up correctly.
Bye!
Navigation:
[Reply to this message]
|