You are here: from PHP -> db2_connect() Undefined Function « PHP Programming Language « IT news, forums, messages
from PHP -> db2_connect() Undefined Function

Posted by Musashi on 10/31/05 20:35

I'm trying to access a Cloudscape/Derby database
via PHP and am using the IBM DB2 Lite client
which I have installed.

As soon as I call db2_connect(...) in the
php code, I get a db2_connect Undefined function error message,
so it is not finding this function in the IBM DB2 stuff.

I've verified that the Apache Server, PHP
and DB2 and the config and ini files that go
with them are all set up OK.

I also made sure that my php.ini has a line that says
extension=php_ibm_db2.dll
and that the php_ibm_db2.dll exists
in the c:\php\ext directory
(I also copied php_ibm_db2.dll to
c:\windows\system32 just to be sure).

BUT.. I notice that in my c:\Program Files\
IBM\SQLLIB\
directory where DB2 lite client is installed,
there is NO include subdirectory.

Is that what I'm missing and if so,
how do I get it?

Thanks
Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация