Re: Failure to load php_openssl.dll
| From: | Edin Kadribasic | Date: | Mon, 26 Jul 2004 21:12:41 +0000 |
| Subject: | Re: Failure to load php_openssl.dll | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-13988@lists.php.net to get a copy of this message | ||
1. php.ini should be in c:\windows
2. have you copied dlls\*.dll to c:\windows\system32?
Edin
"Angus Monro" <angus.monro@s4b.com.au> wrote in message
news:20040726082312.47355.qmail@pb1.pair.com...
> Hello all,
>
> I'm having difficulty getting off the ground with SSL in PHP. With my
> script
> | <%php
> | $res = openssl_pkey_new();
> | %>
> I get this output:
> | Fatal error: Call to undefined function: openssl_pkey_new() in
> c:\inetpub\wwwroot\Scratchpad\test.php on line 3
> | PHP Warning: Unknown(): Unable to load dynamic library
> './extensions/php_openssl.dll' - The operating system cannot run %1. in
> Unknown on line 0
> The latter message is clearly closer to the root problem, since I get it
> even with the trivial script:
> | <%php
> | %>
>
> Here are the details of my configuration:
> (1) WindowsXP, IIS.
> (2) I'm using the precompiled download of PHP 4.3.7.
> (3) I've uncommented "extension=php_openssl.dll" in my php.ini (which is
in
> C:\Windows\System32).
> (4) php_openssl.dll is in the right place (php/extensions). I know it's
in
> the right place, because it's in the same directory as php_xslt.dll, which
> I'm also using, successfully.
> (5) I've put openssl.cnf in c:/usr/local/ssl
>
> What have I missed?
>
> Thank-you very much in advance.
>
> Angus Monro.