Help on PHP extensions

[email protected] (Dan Koken) Sun, 11 Nov 2001 15:50:47 -0800
Newsgroups php.lang
Message-ID <[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