Database other than MySql

Discussion in 'PHP' started by babaMBA, Jul 9, 2007.

  1. #1
    Hi.

    Is is possible to use a database other than mySql with PHP, Like Access or SQL server.

    If it so what is the configuration file.

    I want to use SQL server (mdf) file with PHP , How is it possible
     
    babaMBA, Jul 9, 2007 IP
  2. smalldog

    smalldog Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    smalldog, Jul 9, 2007 IP
  3. thecreep

    thecreep Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can try pgSQL
     
    thecreep, Jul 9, 2007 IP
  4. jalte

    jalte Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can try Adodb for PHP
     
    jalte, Jul 9, 2007 IP
  5. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #5
    there's access, ado, oracle, sybase, interbase, frontbase, mssql, mysql, ocdb, postgres... there's just tons of them that are supported by php. you're not just limited to mysql. it just happens to be one of the more popular.
     
    ansi, Jul 9, 2007 IP
  6. pfek

    pfek Member

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #6
    Here is something I strongly suggest : ADODB. It's a php library based on the popular Windows Components(ActiveX if I'm right). It's really easy to use and offers an abstraction layer which permits you to switch databases without having to recode the smallest query.

    You should have a look at it. Here's the adresse :
    http://adodb.sourceforge.net/
     
    pfek, Jul 9, 2007 IP