fsockopen and SSL in PHP4

Problems with the Windows version of XAMPP, questions, comments, and anything related.

fsockopen and SSL in PHP4

Postby bno » 28. December 2006 17:39

Hi all,

I switched xampp (for windows, version 1.5.5) tot PHP4.
When I try this line:

Code: Select all
$fsp = fsockopen("ssl://ideal.secure-ing.com", 443, $errno, $errstr, 300);


I get the following warning:

Warning: fsockopen() [function.fsockopen]: no SSL support in this build in C:\Program Files\xampp\htdocs\test\test.php on line 2

After switching back to PHP5 this runs fine.

I am lost... Should I make adjustments in httpd.conf?

Thx! (I can read German)
bno
 
Posts: 2
Joined: 28. December 2006 17:17
Location: Delft / The Netherlands

Postby Wiedmann » 28. December 2006 19:02

no SSL support in this build

I think this message is clear?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby bno » 28. December 2006 19:14

Wiedmann wrote:I think this message is clear?


It is... But, correct me if I'm wrong, xampp should come with ssl support, shouldn't it? Anyhow, is it possible to activate SSL within the xampp distribution? Or should I replace the PHP directory with another SSL-enabled version?
bno
 
Posts: 2
Joined: 28. December 2006 17:17
Location: Delft / The Netherlands

Postby Wiedmann » 28. December 2006 19:56

Anyhow, is it possible to activate SSL within the xampp distribution?

No, not with PHP4.

Or should I replace the PHP directory with another SSL-enabled version?

Yes, if you need SSL streams in PHP4 you must install another version (with SSL support).
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 67 guests