PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Jul 24, 2017 1:35 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 15, 2011 9:25 am 
Offline
Forum Newbie

Joined: Fri Apr 15, 2011 9:21 am
Posts: 1
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.


Top
 Profile  
 
PostPosted: Sat Sep 26, 2015 4:37 am 
Offline
Forum Newbie

Joined: Sat Sep 26, 2015 4:22 am
Posts: 1
Thanks a lot!!!! I was facing exactly the same error and your post has helped me fix the issue.

openssl details phpinfo :

Quote:
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


Top
 Profile  
 
PostPosted: Sat Sep 26, 2015 7:21 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6254
Location: Montreal, Canada
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.

_________________
Supported PHP versions No longer supported versions


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group