+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    1

    cannot get php_mssql.dll enabled?

    For Microsoft SQL Server.
    I already have ENterprise Manager on my computer so Microsoft's client tools must be installed.

    I'm trying to install the extension for mssql.
    I have it uncommented in my php.ini
    extension=php_mssql.dll

    php_mssql.dll is also in my system32 folder on Windows
    but it doesn't show up in the info page nor when I test this code:

    <?php

    if (function_exists('mssql_connect'))
    {
    echo "Okay, fn is there";
    }
    else
    {
    echo "Hmmm .. fn is not even there";
    }

    ?>

    No loading errors either when starting the webserver.
    Any ideas on what to check?

  2. #2
    Super Moderator
    Join Date
    Jul 2004
    Posts
    18,841
    Well the first thing you need to do is delete any files you moved outside of the PHP folder - this is never a good idea!

    Second thing you need to do is verify a few things:
    • Did you add the PHP directory to your system's PATH environment variable? There's a link to the PHP manual on how to do this in the sticky in this forum.
    • Do you know for a fact that PHP is reading the php.ini file you're editing? For example, if you change some other directive (ex. change display_errors from Off to On) does phpinfo() reflect this change?
    • Did you restart your webserver after making a change to the php.ini file?

  3. #3
    Senior Member
    Join Date
    Nov 2006
    Posts
    609
    Also, check the manual for anything else you might have missed: http://us3.php.net/mssql
    Last edited by rsmith; 01-28-2008 at 07:14 PM.

  4. #4
    Junior Member
    Join Date
    Feb 2013
    Posts
    2
    I'm having a similar problem... My issue is message when using MuWeb 0.6, it keeps saying this

    Error #123
    Loading php_mssql.dll Falied!
    Please Enable php_mssql.dll in ur php.ini

    Any help with this would be nice thanks.

  5. #5
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Systems Vehicle "Thrilled To Be Here"
    Posts
    21,442
    What it says: "Enable php_mssql.dll in ur [sic] php.ini".
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  6. #6
    Junior Member
    Join Date
    Feb 2013
    Posts
    2
    that's where it get's confusing, it is enabled...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

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