× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Did you set the following in php.ini

extension=ibm_db2.so
ibm_db2.instance_name=instance


Google is your friend
https://www-01.ibm.com/support/knowledgecenter/SSEPGG_9.5.0/com.ibm.db2.luw.apdv.php.doc/doc/t0011926.html



On Mon, Sep 28, 2015 at 9:52 AM IBMiSoftwareEngineer <
ibmisoftwareengineer@xxxxxxxxx> wrote:

We are trying to execute a PHP script on a Linux x86 server that accesses
the DB2 database on an IBM i and are receiving the following error. We
would appreciate any specific guidance.

PHP Fatal error: Call to undefined function db2_connect() in
/var/www/product/product_dropdown.php

Googling seems to point to installing PECL on the Linux server. 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 Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.