Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2010
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    trouble loading php_mssql extension(with WAMP)

    I have have been trying for hours to connect php with ms sql server 2005, but I can't get it, I get these error when I run a web page.

    Call to undefined function mssql_connect()

    I have these php.ini below, still it does not work, the extension is not loaded
    extension=php_mssql.dll. PHP Version 5.3.0. I know many encountered these problem, I tried their solutions, but I can't get it to work.
    Last edited by Anishgiri; 12-01-2010 at 02:06 AM.

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Did you do this?

    To get these functions to work, you have to compile PHP with --with-mssql[=DIR] , where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib .
    Also:

    http://us2.php.net/manual/en/mssql.requirements.php
    Last edited by Fumigator; 12-01-2010 at 03:45 PM.


  •  

    Posting Permissions

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