RE: [PHP-DB] ODBC .. ehm .. help :)
| From: | Andrew Hill | Date: | Thu, 13 Dec 2001 17:29:20 +0000 |
| Subject: | RE: [PHP-DB] ODBC .. ehm .. help :) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14999@lists.php.net to get a copy of this message | ||
If you followed the howto and you are still receiving an "undefined
function" error, than you might have more than one apache/php instance, and
you are starting the wrong one :)
What was the configure command you used? Did you use a --prefix? If so,
that is the one you need to start.
Also, check the output of your phpinfo(); to verify ODBC is enabled - the
link you gave to info.php is 'forbidden'.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers
> -----Original Message-----
> From: b i k k e l [mailto:bikkel@most-wanted.com]
> Sent: Thursday, December 13, 2001 11:24 AM
> To: ahill@openlinksw.com
> Subject: RE: [PHP-DB] ODBC .. ehm .. help :)
>
>
> Yes, i follows all the steps described at www.iodbc.org. Still no
> result :(
>
> ----------------------------------------------
> Original Message
> From: "Andrew Hill"<ahill@openlinksw.com>
> Subject: RE: [PHP-DB] ODBC .. ehm .. help :)
> Date: Thu, 13 Dec 2001 09:32:25 -0500
>
> >Bikkel,
> >
> >Is ODBC enabled on your sever?
> >If this is a *nix server, follow the Howto at www.iodbc.org. If windows,
> >check your odbc.ini for the proper setting.
> >
> >Best regards,
> >Andrew Hill
> >Director of Technology Evangelism
> >OpenLink Software http://www.openlinksw.com
> >Universal Data Access & Data Integration Technology Providers
> >
> >> -----Original Message-----
> >> From: b i k k e l [mailto:bikkel@most-wanted.com]
> >> Sent: Thursday, December 13, 2001 4:35 AM
> >> To: php-db@lists.php.net
> >> Subject: [PHP-DB] ODBC .. ehm .. help :)
> >>
> >>
> >> Hi,
> >>
> >> i get the following error with the code listed below: "Fatal
> >> error: Call to
> >> undefined function: odbc_connect() in
> >> /home/users/sites/www.nlhq.nl/html/connect.php3 on line 2"
> >>
> >> <?PHP
> >> $db = odbc_connect('server4.1a.nl', '', '',
> >> SQL_CUR_USE_ODBC);
> >> ?>
> >>
> >> This is the URL of the PHP script:
> >> http://www.nlhq.nl/connect.php3
> >>
> >> Tought it might my usefull to give ya all the info i can get .. so ..
> >> http://www.nlhq.nl/info.php
> >>
> >> Hope some1 can help me out here ..
> >> Thanx!
> >>
> >>
> >>
> >> --
> >> PHP Database Mailing List (http://www.php.net/)
> >> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> >> For additional commands, e-mail: php-db-help@lists.php.net
> >> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> >>
> >>
> >>
> >
> >
> >
>
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
>
>
>