|
Posted by Chuck Anderson on 10/12/05 08:10
Mike Willbanks wrote:
>Chuck,
>
>
>>I've been reading forum posts saying to compile Php with
>>"--with-openssl in your ./configure
>>command."
>>
>>Well, I do not compile Php from source (don't even have a C compiler).
>>I always download binaries (like php-4.4.0-Win32.zip that I downloaded
>>today from php.net).
>>
>>How do I get a binary that was compiled with openssl in the configure
>>command? Or if I am misunderstanding something here, what is is that I
>>need to do?
>>
>>
>
>Within the extensions folder you should see a php_openssl.dll
>
>
Yep. And I uncommented that line in php.ini. (extension=php_openssl.dll)
>Also you should go to the openssl folder and read the README-SSL.txt
>file.
>
Thanks for the help. I don't see any such file, however ......
...... I installed a compiled binary .... Win32OpenSSL-v0.9.8.exe ....
.... that I got from the Shining Light Productions site (a link from
openssl.org).
http://www.slproweb.com/products/Win32OpenSSL.html
In the help file (.chm for Windows) it says that I can uninstall it if I
do not plan on developing any apps that incorporate the SSL library and
it will leave the needed dlls in the Windows/system folder.
I understand that from what I've done, SSL should be properly installed
(I can use openssl from the command line) , however, Php still does not
show https and ftps as registered streams and I can not use fopen on
secure URLs.
>That file tells you how to implement it correctly within a
>windows environment (which sometimes includes setting environment variables)
>
>
I have found nothing about setting environment variables. ?? Do I need
to do something more in php (php.ini) or in Apache httpd.conf?
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Integrity is obvious.
The lack of it is common.
*****************************
[Back to original message]
|