Home > Fatal Error > Fatal Error Call To Undefined Function Db2_connect

Fatal Error Call To Undefined Function Db2_connect

Contents

The docs usually reference IBM DB2 Universal Database and do not mention the IBM i DB2 database so we are are unsure if this is the remedy. -- This is the This document may contain material that is privileged or protected from disclosure under applicable law. You may have to register before you can post: click the register link above to proceed. Try that and see what happens. his comment is here

Ask me for more information! Informational tokens are "DB2 v8.1.2.88", "s050422", "MI00117", and FixPak "9". Any personal comments made in this e-mail do notreflect the views of Blue Cross Blue Shield of Florida, Inc. Join Now For immediate help use Live now!

Install Ibm_db2 Extension Php

I notice that in my c:\Program Files\ IBM\SQLLIB\ directory where DB2 lite client is installed, there is NO include subdirectory. 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. The information contained in thisdocument may be confidential and intended solely for the use of theindividual or entity to whom it is addressed.

Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc. Browse other questions tagged php or ask your own question. Ibelieve that 'php -m' only shows that a module is included, that that itactually started?--Lester Caine - G8HFL-----------------------------Contact - http://home.lsces.co.uk/lsces/wiki/?page=contactL.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 Here's what I've tried: Downloaded extension from here: I got the 5.5 ts version and copied the .dll into PHP's ext folder Added extension=php_ibm_db2.dll line in php.ini linked by WAMP Installed

How? Pecl Php BUT.. 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. Ibelieve that 'php -m' only shows that a module is included, that that itactually started?--Lester Caine - G8HFL-----------------------------Contact - http://home.lsces.co.uk/lsces/wiki/?page=contactL.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

share|improve this answer edited Aug 19 '15 at 7:10 answered Aug 17 '15 at 9:26 Hanany 3310 add a comment| Your Answer draft saved draft discarded Sign up or log THANK YOU. THANK YOU.>--John [email protected]://jmertic.wordpress.com"Explaining a joke is like dissecting a frog: you understand it better,but the frog dies in the process." --Mark TwainBlue Cross Blue Shield of Florida, Inc., and its subsidiary PHP Web Languages/Standards-Other Web Development Scripting Languages Advertise Here 769 members asked questions and received personalized solutions in the past 7 days.

  1. Connect with top rated Experts 12 Experts available now in Live!
  2. 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
  3. This document may contain material that is privileged or protected from disclosure under applicable law.
  4. Add it to the last line underthese entries if it is not already.Tom HearnSoftware Engineer/n SoftwareWe are releasing IPWorks!
  5. stackoverflow.com/a/31353425/193453 –Bryan Pendleton Aug 15 '15 at 16:01 @Bryan Pendleton I've read the linked articles.
  6. http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped… PHP MySQL Server HTML HTTP Protocol Web Development Making
  7. All other 2016 months displays fine. 4 29 12d json value get in input box 6 14 6h Magic Quotes (a bad idea from day one) Article by: Ray Both Easy

Pecl Php

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. http://forums.zend.com/viewtopic.php?f=64&t=786 I'm trying to access a Cloudscape/Derby database via PHP and am using the IBM DB2 Lite client which I have installed. Install Ibm_db2 Extension Php Sent: Monday, September 28, 2015 10:57 AM To: Web Enabling the IBM i (AS/400 and iSeries) Cc: [email protected] Subject: Re: [WEB400] PHP Call to undefined function db2_connect() error Unless your PHP Can ANYONE shed any light on why this is occurring???

So DB2 appears to be loading.*** If I try to run the php script from the command line on theserver, I get no output:F:\INETPUB\WWWROOT>php -f jason2.phpF:\INETPUB\WWWROOT>Blue Cross Blue Shield of Florida, http://indywebshop.com/fatal-error/fatal-error-call-to-undefined-function-mysql-connect-php-5-3.php We'll be re-enabling from now on. 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 Any personal comments made in this e-mail do not reflect the viewsof Blue Cross Blue Shield of Florida, Inc.

This document may contain material that is privileged or protected from disclosure under applicable law. I've looked for tutorials, but many of them are very old and refers to the old version of IBM products which makes it harder for me to understand. THANK YOU.--PHP Windows Mailing List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php reply | permalink McCallister, Jason *** I think PHP may be using the wrong PHP.INI file. http://indywebshop.com/fatal-error/fatal-error-call-to-undefined-function-mysql-connect-in.php Also, John'srecommendation of setting PHPRC to f:\php\ worked as well.

The information contained in this document may be Tom Hearn at Jan 3, 2008 at 8:41 pm ⇧ Jason,Remove all copies of php.ini on your system except for the one in reply Tweet Search Discussions Search All Groups PHP php-windows 19 responses Oldest Nested Warren Vail You might consider using ODBC to connect. Ask me for more information!----- Original Message -----*** 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've had better luck with that onwindows using apache, no IIS experience.Warren Vail-----Original Message-----From: McCallister, JasonSent: Thursday, January 03, 2008 8:55 AMTo: [email protected]: [PHP-WIN] Microsoft IIS - Fatal error: Call to

This document may contain material that is privileged or protected from disclosure under applicable law. web.torres.ws/walters_way If anyone is interested. OR just download a suitable version from PECL. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.

Add it to thelast line under these entries if it is not already.Tom HearnSoftware Engineer/n SoftwareWe are releasing IPWorks! for PHP Soon! THANK YOU.--PHP Windows Mailing List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.phpBlue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail check over here for PHP Soon!

Why is it a bad idea for management to have constant access to every employee's inbox? We'll be re-enabling from now on.JohnOn Jan 3, 2008 3:35 PM, McCallister, Jason wrote:*** I think PHP may be using the wrong PHP.INI file.phpinfo() says this:Configuration File (php.ini) Path C:\WINNTLoaded Configuration If you are not theintended 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 Add it to thelast line under these entries if it is not already.Tom HearnSoftware Engineer/n SoftwareWe are releasing IPWorks!

The informationcontained in this document may be confidential and intended solely forthe use of the individual or entity to whom it is addressed. Are you positive that your php extension directory is properly set in php.ini? THANK YOU.--PHP Windows Mailing List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php reply | permalink Warren Vail Honestly haven't done this in PHP but understand you open it like a device or drive extension What is a type system?

It must be something in IIS, since the command line can see it? ________________________________ From: Tom Hearn Sent: Thursday, January 03, 2008 McCallister, Jason at Jan 3, 2008 at 8:36 pm It mustbe something in IIS, since the command line can see it?________________________________From: Tom HearnSent: Thursday, January 03, 2008 3:25 PMTo: McCallister, JasonCc: [email protected]: RE: [PHP-WIN] Microsoft IIS - Fatal error: Call Check your php.ini and make sure the module gets included (not the case currently according to your phpinfo() output). - absx 0 Write Comment First Name Please enter a first name THANK YOU.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Further phpinfo() does NOT show it on the config, which (as you see from the original post) I explicitly put in there. 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 THANK YOU.--PHP Windows Mailing List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php reply | permalink McCallister, Jason I found the solution.

It mustbe something in IIS, since the command line can see it?________________________________From: Tom HearnSent: Thursday, January 03, 2008 3:25 PMTo: McCallister, JasonCc: [email protected]: RE: [PHP-WIN] Microsoft IIS - Fatal error: Call Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc. I notice that in my c:\Program Files\ IBM\SQLLIB\ directory where DB2 lite client is installed, there is NO include subdirectory.