Jason - You may want to make sure you have the proper IBM DB2 clients installed on machine. I had a hard time getting the oci8 for oracle function to load (I'm using IIS too) even though I had it correctly inputted in my php.ini file. It wouldn't show up in phpinfo(). The reason ended up being that my oracle client version was too old. Once I upgraded my oracle client...the oci8 loaded right up. Try reading these requirements for using ibm_db2 and make sure you meet them: http://us.php.net/manual/en/ref.ibm-db2.php Also be sure to scroll down on the page and read the User Contributed notes. js >>> "McCallister, Jason" <Jason.McCallister@xxxxxxxxxx> 1/3/2008 3:14 PM >>> *** I don't see it with phpinfo() *** I have this in PHP.INI ([PHP_IBM_DB2] extension=php_ibm_db2.dll). *** What else is need to load the DB2 extension? I have also rebooted. *** These are the only entries that I see in PHP.INI with the word DB2. CLASSPATH .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db 2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\I BM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar DB2INSTANCE DB2 DB2TEMPDIR C:\PROGRA~1\IBM\SQLLIB\ _ENV["CLASSPATH"] .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db 2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\I BM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar _ENV["DB2INSTANCE"] DB2 _ENV["DB2TEMPDIR"] C:\PROGRA~1\IBM\SQLLIB\ -----Original Message----- From: Lester Caine [mailto:lester@xxxxxxxxxxx] Sent: Thursday, January 03, 2008 12:47 PM To: php-windows@xxxxxxxxxxxxx Subject: Re: Microsoft IIS - Fatal error: Call to undefined function db2_connect() McCallister, Jason wrote: > I have this line in my php.ini file. > > [PHP_IBM_DB2] > extension=php_ibm_db2.dll > > Also, if I run php -m, I can see ibm_db2 > > > > -----Original Message----- > From: Lester Caine [mailto:lester@xxxxxxxxxxx] > Sent: Thursday, January 03, 2008 12:22 PM > To: php-windows@xxxxxxxxxxxxx > Subject: Re: Microsoft IIS - Fatal error: Call to undefined > function db2_connect() > > McCallister, Jason wrote: >>> *** When I run a PHP script that uses db2_connect, I get this error >>> message: >>> >>> Fatal error: Call to undefined function db2_connect() in >>> F:\Inetpub\wwwroot\jason2.php on line 5 > > You need to load the ibm_db2 package. > Check out phpinfo() if you think that it should be loaded. I'd still be looking for the results from phpinfo() to show that the module is actually running and what settings it has defaulted to. I believe that 'php -m' only shows that a module is included, that that it actually started? -- Lester Caine - G8HFL ----------------------------- Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://home.lsces.co.uk MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/ Firebird - http://www.firebirdsql.org/index.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc. The information contained in this document may be confidential and intended solely for the use of the individual or entity to whom it is addressed. This document may contain material that is privileged or protected from disclosure under applicable law. If you are not the intended recipient or the individual responsible for delivering to the intended recipient, please (1) be advised that any use, dissemination, forwarding, or copying of this document IS STRICTLY PROHIBITED; and (2) notify sender immediately by telephone and destroy the document. THANK YOU. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php