RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()
| From: | germana | Date: | Thu, 03 Jan 2008 17:20:16 +0000 |
| Subject: | RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect() | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28665@lists.php.net to get a copy of this message | ||
My plan is using Apache and Mysql connection....
But one thing i want to have clear is about PHP and the connection with
the Serial Port..
Thanks!!!
On Thu, 2008-01-03 at 09:16 -0800, Warren Vail wrote:
> You might consider using ODBC to connect. I've had better luck with that on
> windows using apache, no IIS experience.
>
> Warren Vail
>
> > -----Original Message-----
> > From: McCallister, Jason [mailto:Jason.McCallister@bcbsfl.com]
> > Sent: Thursday, January 03, 2008 8:55 AM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function
> > db2_connect()
> >
> > > *** 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
> > >
> > >
> > >
> > > *** I also get this windows error on the IIS server
> > >
> > > CLI encountered a problem and needed to close.
> > >
> > >
> > >
> > > *** I am using Internet explorer on the client and IIS on the server.
> > >
> > >
> > >
> > > *** If I run "php -m" from the server's command line, I see ibm_db2 in
> > > the listing. So DB2 appears to be loading.
> > >
> > >
> > >
> > > *** If I try to run the php script from the command line on the
> > > server, I get no output:
> > >
> > > F:\INETPUB\WWWROOT>php -f jason2.php
> > >
> > > F:\INETPUB\WWWROOT>
> >
> >
> > Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate
> > companies are not responsible for errors or omissions in this e-mail
> > message. Any personal comments made in this e-mail do not reflect the
> > views of Blue Cross Blue Shield of Florida, Inc. 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. This document
> > may contain material that is privileged or protected from disclosure under
> > applicable law. 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 IS STRICTLY PROHIBITED; and (2) notify sender immediately by
> > telephone and destroy the document. THANK YOU.
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>