Re: Failure to load php_openssl.dll

From: Date: Tue, 27 Jul 2004 23:27:17 +0000
Subject: Re: Failure to load php_openssl.dll
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-13998@lists.php.net to get a copy of this message
Thanks for the responses thus far. - my apologies - I have indeed had php.ini in c:\windows, not c:\windows\system32 as I'd previously posted. Slip of the brain. - yes, those DLLs are all in the system32 folder already. - at present, I'm running the script directly on the server as myself, so there are no permission issues. - I have tried resetting the server, but this doesn't help. So the problem continues... Angus. "Edin Kadribasic" <edink@emini.dk> wrote in message news:20040726210912.81912.qmail@pb1.pair.com... > 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.

« previous php.install (#13998) next »