Re: Loading DLL Extension
| From: | Zach Curtis | Date: | Thu, 14 Feb 2002 15:53:44 +0000 |
| Subject: | Re: Loading DLL Extension | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12085@lists.php.net to get a copy of this message | ||
Yes, that is where PHP is located. When I use ./ for the extension_dir, I
get Warning window, "Warning: Unable to load dynamic library
'./php_pdf.dll' - The specified module could not be found."
Zach
You wrote:
where is the PHP directory located?
is it j:\php ?
if so leave the default to:
./
"Zach Curtis" <zach@populus.com> wrote in message
news:NFBBIIFDLHAODMOHAEIDKECJDGAA.zach@populus.com...
> 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
> >
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php