Re: Microsoft IIS - Fatal error: Call to undefined function db2_connect()

From: Date: Thu, 03 Jan 2008 17:46:31 +0000
Subject: Re: Microsoft IIS - Fatal error: Call to undefined function db2_connect()
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28670@lists.php.net to get a copy of this message
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@lsces.co.uk] Sent: Thursday, January 03, 2008 12:22 PM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] 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

« previous php.windows (#28670) next »