Re: Help on PHP extensions

[email protected] ("Kresimir Kondza") Tue, 26 Mar 2002 11:55:39 +0100
Newsgroups php.lang
Message-ID <[email protected]>
Try putting extensions in win/system32 folder


"Dan Koken" <[email protected]> wrote in message
news:[email protected]...
> I'm new to PHP so there may be an obvious answer:
>
>
> How do you load dynamic dll extensions?????
>
> I'm using windows 2000 with apache
> I'm trying to use the printer extensions
> In php.ini I set the following:
> enable_dl = On
>
> Tried the following extension_dir commands in php.ini
> extension_dir = c:/PHP/extensions/
> extension_dir = 'c:/PHP/extensions/'
> extension_dir = c:/PHP/extensions
> extension_dir = "c:/PHP/extensions/"
> Plus others ---
>
> All the extension dll's are in C:/PHP/extensions without any security.
>
> when I un-comment the following in php.ini
> extension=php_printer.dll
> and then run PHP I get the following error:
> -----------------------------
> Unable to load dynamic library 'c:/PHP/extension/php_printer.dll' - The
> specified procedure could not be found.
> -----------------------------------
>
> I get the same error when using
> dl('php_printer.dll');
> in a php program.
>
> Help!!!! How do i get these to load.
>
> Thanks for the help..
> Dan
>