OpenSSL Windows binaries / solved

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
lvedin
Forum Newbie
Posts: 1
Joined: Fri Apr 15, 2011 9:21 am

OpenSSL Windows binaries / solved

Post by lvedin »

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.
tsridhar
Forum Newbie
Posts: 1
Joined: Sat Sep 26, 2015 4:22 am

Re: OpenSSL Windows binaries / solved

Post by tsridhar »

Thanks a lot!!!! I was facing exactly the same error and your post has helped me fix the issue.

openssl details phpinfo :
openssl support disabled (install ext/openssl) windows
Simple solution: Use the php-5.3.6-Win32-VC9-x86.msi installable available at http://windows.php.net/downloads/releases/archives/


Thanks a ton mate.

Thx,
Sridhar
User avatar
Celauran
Moderator
Posts: 6425
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: OpenSSL Windows binaries / solved

Post by Celauran »

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.
Post Reply