RE: [PHP4BETA] iodbc crashing while connecting to MSSQL
| From: | Andrew Hill | Date: | Thu, 18 May 2000 20:44:50 +0000 |
| Subject: | RE: [PHP4BETA] iodbc crashing while connecting to MSSQL | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15218@lists.php.net to get a copy of this message | ||
Dave,
Make sure the envrionment variables specified in openlink.sh are applied
before you start the oprlqb.
You will also need to pass all pertinent variables into the php script via
putenv();
Best regards,
Andrew
-----Original Message-----
From: Dave Goodrich [mailto:daveg@rblc.com]
Sent: Thursday, May 18, 2000 4:50 PM
To: ahill@openlinksw.com
Subject: Re: [PHP4BETA] iodbc crashing while connecting to MSSQL
I dnld the software and followed the install instructions, but the config
wizard refuses to find the odbc.ini file. I have it at /etc and
/usr/local/etc and /usr/local/openlink/ (~/odbc.ini) all fail.
It seems to wnt to run, how do I get it recognize the odbc.ini file?
on 5/18/00 11:36 AM, Andrew Hill at ahill@openlinksw.com wrote:
DAve.
--
Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9521 NE Willows Road, Suite 100
Redmond, WA 98052
Toll Free 1-877-869-6603 ext. 237
Fax (425) 558-5655
daveg@rblc.com
Web Site www.rblc.com
> Dave,
>
> IODBC is not a driver, but a driver manager. What driver are you using
with
> it?
>
> If none, than this is the problem :) This seems to be a common
> misunderstanding, so I've updated the odbc-phpHOWTO to reflect this and to
> give an overview of when to use --with-iodbc and when to use --with-odbc
>
> I've submitted a revised copy to the folks at iODBC.org, but until it show
> up, I've attached the new one to this post.
>
> Best regards,
> Andrew
> ----------------------------------------------------
> Andrew Hill
> Technical Support Consultant
> OpenLink Software
> http://www.openlinksw.com
> Universal Database Connectivity Technology Providers
>
>
> -----Original Message-----
> From: Dave Goodrich [mailto:daveg@rblc.com]
> Sent: Thursday, May 18, 2000 2:28 PM
> To: php4beta@lists.php.net
> Subject: [PHP4BETA] iodbc crashing while connecting to MSSQL
>
>
> I have RC@ running compiled with IODBC. When connecting to MSSQL, PHP
> crashes with a SIG 11. There is no error returned. Using the testprogram
> compiled from the IODBC code we can connect but immediately get an error
of
> "Dialog Failed".
>
> The odbc.ini is correct and is being found by the driver manager.
> PHP returns nothing, nada, zip.
> The IODBC sample program claims an error of IM008 which is "Dialog Failed"
> but nothing shows up in the trace.
> The httpd error_log shows SIG 11 for PHP.
>
> I'm inclined to belive this is a problem with IODBC, has anyone else had
> problems? is there another ODBC driver known to work currently?
>
> Thanks,
>
> DAve.
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
>