#40796 [NEW]: ODBC connect fails using

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40796 [NEW]: ODBC connect fails using

    From: callahal at vaniercollege dot qc dot ca
    Operating system: Windows 2003 svr std
    PHP version: 5.2.1
    PHP Bug Type: ODBC related
    Bug description: ODBC connect fails using

    Description:
    ------------
    Setup is
    Windows 2003 Server STD, IIS6, PHP 5.2.1
    using php-cgi.exe I cannoct connect to my system dsn datasource
    which, as shown, is the northwind sample database on Ms_SQL Server 2000.
    If I use php5isapi.dll, everything works fine.
    However I prefer to use the php-cgi.exe.

    All of php.exe, php-cgi.exe and php5isapi.dll work fine with ODBC connects
    with PHP version 5.2.0.




    Reproduce code:
    ---------------
    if($odbc_db = odbc_connect('Northwind', 'sample', 'sample')){
    echo "Connected AOK". eol ;
    }else{
    die("Could not connect to ODBC data source Northwind");
    }

    Expected result:
    ----------------
    I should connect


    --
    Edit bug report at [url]http://bugs.php.net/?id=40796&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40796&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40796&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40796&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40796&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40796&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40796&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40796&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40796&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40796&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40796&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40796&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40796&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40796&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40796&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40796&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40796&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40796&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40796&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40796&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40796&r=mysqlcfg[/url]
    callahal at vaniercollege dot qc dot ca Guest

  2. Similar Questions and Discussions

    1. Can't connect using ODBC
      I'm having problems connecting to a Navision database using the ODBC socket in CFAdmin. I updated the SequeLink like stated in KBe917887 but my...
    2. How do I connect txt file using odbc datasouce ?
      Help! How can I create a datasouce on MX 6.1 linux to a txt file comma delimeter the old coldfusion it has MERANT Text Driver, but with this new...
    3. Connect to Postgres 7.4 via ODBC SOLVED!!!!!
      Well, here is the simple solution to my problem: Turn the firewall down!!!! The firewall was doing what it was supposed to do.... Thanks for all...
    4. Connect to Postgres 7.4 via ODBC
      Hi all, After wasting about half a day I thought I'd ask you for help. I have Fedora Core 3 box that came with postgresql 7.4.6 installed....
    5. Oracle 9.2.0.3.0 ODBC Fails
      We just upgrade our oracle server from 8i up to 9i and now our asp pages are failing. We were using the Microsoft ODBC drivers for Oracle V...
  3. #2

    Default #40796 [Opn->Bgs]: ODBC connect fails using

    ID: 40796
    Updated by: [email]tony2001@php.net[/email]
    Reported By: callahal at vaniercollege dot qc dot ca
    -Status: Open
    +Status: Bogus
    Bug Type: ODBC related
    Operating System: Windows 2003 svr std
    PHP Version: 5.2.1
    New Comment:

    Sorry, but your problem does not imply a bug in PHP itself. For a
    list of more appropriate places to ask for help using PHP, please
    visit [url]http://www.php.net/support.php[/url] as this bug system is not the
    appropriate forum for asking support questions. Due to the volume
    of reports we can not explain in detail here why your report is not
    a bug. The support channels will be able to provide an explanation
    for you.

    Thank you for your interest in PHP.

    Use odbc_errormsg() to get the error message.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-13 18:07:42] callahal at vaniercollege dot qc dot ca

    Description:
    ------------
    Setup is
    Windows 2003 Server STD, IIS6, PHP 5.2.1
    using php-cgi.exe I cannoct connect to my system dsn datasource
    which, as shown, is the northwind sample database on Ms_SQL Server
    2000.
    If I use php5isapi.dll, everything works fine.
    However I prefer to use the php-cgi.exe.

    All of php.exe, php-cgi.exe and php5isapi.dll work fine with ODBC
    connects with PHP version 5.2.0.




    Reproduce code:
    ---------------
    if($odbc_db = odbc_connect('Northwind', 'sample', 'sample')){
    echo "Connected AOK". eol ;
    }else{
    die("Could not connect to ODBC data source Northwind");
    }

    Expected result:
    ----------------
    I should connect



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40796&edit=1[/url]
    tony2001@php.net Guest

  4. #3

    Default #40796 [Bgs]: ODBC connect fails using

    ID: 40796
    User updated by: callahal at vaniercollege dot qc dot ca
    Reported By: callahal at vaniercollege dot qc dot ca
    Status: Bogus
    Bug Type: ODBC related
    Operating System: Windows 2003 svr std
    PHP Version: 5.2.1
    New Comment:

    Well If you say it's bogus -- fine.
    But as I said, on the same machine - swap out the 5.2.1 and put back
    5.2.0 and everything works fine. And BTW it's only the ODBC connect
    that doesn't work OCi8 works fine and so does MySQL connections.
    But what do I know.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-13 19:12:33] [email]tony2001@php.net[/email]

    Sorry, but your problem does not imply a bug in PHP itself. For a
    list of more appropriate places to ask for help using PHP, please
    visit [url]http://www.php.net/support.php[/url] as this bug system is not the
    appropriate forum for asking support questions. Due to the volume
    of reports we can not explain in detail here why your report is not
    a bug. The support channels will be able to provide an explanation
    for you.

    Thank you for your interest in PHP.

    Use odbc_errormsg() to get the error message.

    ------------------------------------------------------------------------

    [2007-03-13 18:07:42] callahal at vaniercollege dot qc dot ca

    Description:
    ------------
    Setup is
    Windows 2003 Server STD, IIS6, PHP 5.2.1
    using php-cgi.exe I cannoct connect to my system dsn datasource
    which, as shown, is the northwind sample database on Ms_SQL Server
    2000.
    If I use php5isapi.dll, everything works fine.
    However I prefer to use the php-cgi.exe.

    All of php.exe, php-cgi.exe and php5isapi.dll work fine with ODBC
    connects with PHP version 5.2.0.




    Reproduce code:
    ---------------
    if($odbc_db = odbc_connect('Northwind', 'sample', 'sample')){
    echo "Connected AOK". eol ;
    }else{
    die("Could not connect to ODBC data source Northwind");
    }

    Expected result:
    ----------------
    I should connect



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40796&edit=1[/url]
    callahal at vaniercollege dot qc dot ca Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139