PHP.net: "To use PHP's OpenSSL support you must also compile PHP --with-openssl[=DIR]"
But what about the Windows binaries, are they compiled with openssl or do I must to compile my self to use SSL ?
REF Windows binaries: http://windows.php.net/download/ -> VC6 x86 Thread Safe (2011-Mar-22 13:29:30)
( I have try SSL and to configure for SSL, but never get it listed in phpinfo(), so I figure if its not compiled or if I'm not able to configure )
Thanks !
EDIT:
For info:
1. PHP.net: "Do NOT use VC9 version with apache.org binaries"
2. johnj wrote: I tested using apache (httpd-2.2.17-win32-x86-openssl-0.9.8o) and php-5.3.6-Win32-VC9-x86....it is working.
3.
Ok, i'll try that.
EDIT:
Tried, now phpinfo() display SSL as "OpenSSL support disabled (install ext/openssl)" .
I may just need to enable SSL.
EDIT #2:
Now it works, I just enabled OpenSSL by add the lines php.ini
[PHP_OPENSSL]
extension=php_openssl.dll
And then copied php_openssl.dll from the ext-folder, to directly under the PHP-folder, restaring Apache.
OpenSSL Windows binaries / solved
Moderator: General Moderators
Re: OpenSSL Windows binaries / solved
Thanks a lot!!!! I was facing exactly the same error and your post has helped me fix the issue.
openssl details phpinfo :
Thanks a ton mate.
Thx,
Sridhar
openssl details phpinfo :
Simple solution: Use the php-5.3.6-Win32-VC9-x86.msi installable available at http://windows.php.net/downloads/releases/archives/openssl support disabled (install ext/openssl) windows
Thanks a ton mate.
Thx,
Sridhar
Re: OpenSSL Windows binaries / solved
I feel I should point out that 5.3.6 is several years out of date and you really ought to be using 5.6.x. I can't comment with certainty on the state of Windows + PHP + SSL, but I'm sure using a four year old version isn't the only solution.