RE: [PHP-WIN] Loading DLL Extension
| From: | Zach Curtis | Date: | Thu, 14 Feb 2002 15:12:51 +0000 |
| Subject: | RE: [PHP-WIN] Loading DLL Extension | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12079@lists.php.net to get a copy of this message | ||
I'm not sure how I'm mixing two versions of PHP...how is that possible?
The extensions are located in this path extension_dir = j:\php\extensions. I
have tried different combinations of this as well, such as:
"j:\php\extensions"
j:/php/extensions
"j:/php/extensions"
From what I had read in the manual and the php.ini file, I thought all I had
to do to use an extension was to edit the php.ini such that extension_dir =
path to extensions, verify enable_dl = On, and remove the comment for each
particular extension that was needed extension=php_pdf.dll.
Any additional help you provide would be appreciated. Thanks.
Zach
-----Original Message-----
From: Shane Caraveo [mailto:shane@caraveo.com]
Sent: Wednesday, February 13, 2002 4:46 PM
To: Zach Curtis; php-windows@lists.php.net
Subject: Re: [PHP-WIN] Loading DLL Extension
You're mixing two versions of PHP which happen to be incompatible in the
extension API itself. Be sure your ini file points to the correct extension
directory.
----- Original Message -----
From: "Zach Curtis" <zach@populus.com>
To: <php-windows@lists.php.net>
Sent: Wednesday, February 13, 2002 3:15 PM
Subject: [PHP-WIN] Loading DLL Extension
> I can't seem to be able to load any of the DLL extensions included with
PHP.
> For example when I try to load the pdf extension using:
>
> dl("php_zlib.dll"); or
> displaying phpinfo()
>
> I get this message in a warning window:
>
> pdf: Unable to initialize module
> Module compiled with debug=o, thread-safety=1 module API=20000809
> PHP compiled with debug=o, thread-safety=1 module API=20001222
> These options need to match
>
> I am running:
> WINNT 4.0 SP 6a
> Apache 1.3.12
> PHP 4.0.6
>
> php.ini settings:
> extension_dir = j:\php\extensions
> enable_dl = On
> extension=php_pdf.dll
>
>
> Any thoughts? Thanks.
>
>
> Zach Curtis
> POPULUS
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>