|
Posted by Chuck Anderson on 08/11/06 19:47
Anonymous wrote:
> 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!
>
I have read both of the mentioned pages a few times - while I was trying
to get Php4 to open https streams. Since doing all that, I now have
Apache2 installed with the mod_ssl extension. I have installed OpenSSL
0.9.8a and placed the two dll's (ssleay32.dll and libeay32.dll) in the
correct folder (Windows/System32). I also found a version of Php4 that
uses SSL.
My best guess is that your first reply is correct - I need to compile
PHP5 --with-openssl (either get the tools to do the compilation myself
or find one already compiled that way).
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
Navigation:
[Reply to this message]
|