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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux