RE: [PHP] Desperate: odbc_connect() does not work! My settings...
| From: | Kraa de Simon | Date: | Wed, 31 Oct 2001 13:53:00 +0000 |
| Subject: | RE: [PHP] Desperate: odbc_connect() does not work! My settings... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73011@lists.php.net to get a copy of this message | ||
Sorry, here are my settings:
Configure Command:
'./configure' '--with-mysql' '--with-apache=../apache_1.3.19'
'--enable-track-vars' '--with-custom-odbc=/progress/dlc91/odbc/lib'
ODBC Support enabled
----------------------------------------------------------------------
Active Persistent Links 0
Active Links 0
ODBC library custom
ODBC_INCLUDE @ODBC_INCLUDE@
ODBC_LFLAGS @ODBC_LFLAGS@
ODBC_LIBS @ODBC_LIBS@
Directive Local Value Master Value
----------------------------------------------------------------------
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited
Variable Value
----------------------------------------------------------------------
ODBCINI /root/.odbc.ini
ODBCINSTINI /root/.odbcinst.ini
CUSTOM_ODBC_LIBS -L/progress/dlc91/odbc/lib -lodbc -lodbcinst
CFLAGS -I/progress/dlc91/odbc/include
-I/usr/local/src/apache_1.3.19/include
> -----Original Message-----
> From: Kraa de Simon [mailto:Simon.de.Kraa@icl.nl]
> Sent: woensdag 31 oktober 2001 14:44
> To: Php-General (E-mail)
> Subject: RE: [PHP] Desperate: odbc_connect() does not work!
> Please help!
>
>
> So desperate I even forgot the attachment...
>
> > -----Original Message-----
> > From: Kraa de Simon [mailto:Simon.de.Kraa@icl.nl]
> > Sent: woensdag 31 oktober 2001 14:40
> > To: Php-General (E-mail)
> > Subject: [PHP] Desperate: odbc_connect() does not work! Please help!
> >
> >
> > Hi,
> >
> > When I execute:
> >
> > <? odbc_pconnect("results", "sysprogress", "mls"); ?>
> >
> > I get error:
> >
> > Warning: SQL error: , SQL state 01000 in SQLConnect in
> > /usr/local/apache/htdocs/odbc.php on line 1
> >
> > See attachment for phpinfo().
> >
> > BTW 1
> >
> > The ODBC config itself works fine. I can make a connection
> > and retrieve data
> > from the database using a test C program.
> >
> > BTW 2
> >
> > I used --with-custom-odbc and set env var CUSTOM_ODBC_LIBS to
> > the lib dirs
> > and env var CFLAGS to the include dirs.
> >
> > Met vriendelijke groet / With kind regards,
> >
> > ICL Nederland B.V. Simon de Kraa
> > e-Applications / Logistic Systems Systems Architect
> > Het Kwadrant 1 Tel. +31 346 598865
> > Postbus 4000 Fax +31 346 562703
> > 3600 KA MAARSSEN
> > The Netherlands
> > mailto:Simon.de.Kraa@icl.nl
> >
> > ---
> >
> > Progress 9.1c, Roundtable 9.1c, NuSphere Pro Advantage 2.3.1
> > @ MS Windows
> > 2000 5.00.2195 SP 2
> > Progress 9.1b @ SCO UnixWare 7.1.1
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
>
>
>