Re: SSL, how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tobias Talltorp wrote on 29/04/04 12:30 >
Hi

I want to use fsockopen() with SSL, but I get this error message.
Warning: fsockopen(): no SSL support in this build in D:\Program
Files\Apache Group\Apache2\htdocs\ssltest.php on line 287

How do I enable ssl-support for php?

I uncommented the line in for the php_openssl.dll extension in php.ini and
copied libeay32.dll to my C:\WINNT\SYSTEM32 folder.

(Manual)
http://se.php.net/manual/en/ref.openssl.php

My setup:
win 2000
apache 2
php 4.3.4

Any thoughts?
// Tobias

Hi Tobias,


To get the https wrapper working with php 4.3.4, you need to replace your php4ts.dll with the one provided at the link below:

http://ftp.proventum.net/pub/php/win32/misc/openssl/

This is instead of using the php_openssl.dll, so be sure to comment this extension in your php.ini. There's an example in the php manual:
http://se.php.net/manual/en/function.fsockopen.php
(look at the user contributed notes from 10-Aug-2003 08:56)


HTH,
speedfreak

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux