|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-31 13:26 UTC] tony2001@php.net
[2006-03-31 14:02 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
Description: ------------ Trying to retrofit XP home with features missing/not included excet in Pro. Using Apache 2.0 with mod_ssl and mod_net as well as the mod_php included with the php 5.12 release. Docs say I must recompile to get ssl support in php while a note on the same page suggests including a dll from the ext/ direcory. I have modified php.ini to include the extension lib but still get the error. Is there a way to enable ssl support in php without recompiling on windows? It is fairly unfeasible for me to use gpp/gcc for windows at this time. I need a simpler solution. Reproduce code: --------------- print "<b>Generating new key...</b><br/>"; $privkey = openssl_pkey_new(); while (($error = openssl_error_string()) !== false) { echo $error . "<br/>\n"; $errorCount++; } Expected result: ---------------- this code should generate a 128 bit private key Actual result: -------------- Fatal error: Call to undefined function openssl_pkey_new() in C:\inetpub\wwwroot\php-ca\modules\setup\create.php on line 39