Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    2

    Unanswered: Sybase connection problem from PHP

    Hi there,

    Has anyone ever managed to connect to a sybase DB using the sybase functions that come with PHP.

    The problem I am having is as follows:-

    I have a Win 2k3 webserver with IIS 6 and PHP 5.2.0 - it connects to an existing SQL server box for the content for the website. There is another server with Sybase on it that I need to connect to from the webserver.

    The problem is that I can not get the Sybase functions working properly with my PHP installation. My web server crashes when I uncomment the php_sybase_ct.dll line.

    Please help

    Thanks!
    Peter

  2. #2
    Join Date
    Jan 2003
    Location
    Geneva, Switzerland
    Posts
    353
    Err... do you have the Sybase client installed on that machine, and are the Sybase DLLs in the PATH ?

    Michael

  3. #3
    Join Date
    Jan 2007
    Posts
    2

    Installed SQL Anywhere 10

    Hi there,

    Yes, I have installed SQL Anywhere 10 and I just checked, the folder with the DLL's in it is definately in the path.

    I heard from someone that it could be libcs.dll and libct.dll files missing / required, but the problem is where do I get those from if that is the actual solution.

    It's a bit hard with their being so little documentation on Sybase installation with PHP.

    I'm going to continue ripping my hair out about this one... lol

    Thanks again

  4. #4
    Join Date
    Jan 2003
    Location
    Geneva, Switzerland
    Posts
    353
    You've installed ASA 10, but the Sybase-ct module of PHP expects the OpenClient libs/DLLs, and these are normally part of ASE (12.5 and/or 15). I don't know if PHP has a module that is specific to ASA - if not then maybe a generic ODBC module may work.

    Michael

  5. #5
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    ASA comes with it's own PHP module. You do not Open Client installation.

    Read more at http://www.ianywhere.com/developer/c...hp_module.html

Posting Permissions

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