ID: 36932 Updated by: [EMAIL PROTECTED] Reported By: fred at mycommlog dot com Status: Bogus Bug Type: OpenSSL related Operating System: Win XP Home PHP Version: 5.1.2 New Comment:
Just put those DLLs where your SAPI is located. Previous Comments: ------------------------------------------------------------------------ [2006-03-31 13:26:35] [EMAIL PROTECTED] In order to enable this module on a Windows environment, you must copy libeay32.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) http://php.net/openssl ------------------------------------------------------------------------ [2006-03-31 13:13:16] fred at mycommlog dot com 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36932&edit=1