[PHP] Getting extensions to load in Win32

2001-07-09 Thread Michael Hall

I am having a devil of a time getting any extensions to load on my Windows
machines.

I have the php.ini set up as follows:

[...]
extension_dir = C:\PHP\extensions
[...]
;extension=php_fdf.dll
extension=php_gd.dll

I'm trying to load the php_gd.dll, but I get the same problem with any of
the extensions listed in php.ini.  The files are present, I have the
directory set up in php.ini, but php won't work at all until I comment out
the extension line again.

Any suggestions?

Thanks.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Getting extensions to load in Win32

2001-07-09 Thread Hoover, Josh

Michael,

First, try running php.exe from the command line.  When you do that, it will
probably give you a message about not being able to find certain dll's it
needs.  I believe most, if not all, of the dlls you need are in your PHP
directory under a dll directory.  The best thing to do is to add this path
(PHP_DIRECTOR\dlls\) to the System path.  You may have to restart to get
this new entry to be recognized.  Once you do that, run php.exe on the
command line again and see if it still gives you errors.

Hope that helps,

Josh Hoover
KnowledgeStorm, Inc.
[EMAIL PROTECTED]

Searching for a new IT solution for your company? Need to improve your
product marketing? 
Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify
the process for you.
KnowledgeStorm - Your IT Search Starts Here 

 I'm trying to load the php_gd.dll, but I get the same problem 
 with any of
 the extensions listed in php.ini.  The files are present, I have the
 directory set up in php.ini, but php won't work at all until 
 I comment out
 the extension line again.